Repository navigation
Expand file tree
/
Copy pathwhy_repro.Rmd
More file actions
290 lines (177 loc) · 5.36 KB
/
Copy pathwhy_repro.Rmd
File metadata and controls
290 lines (177 loc) · 5.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
---
title: 'Why doing reproducible research?'
author: 'Francisco Rodríguez-Sánchez'
# date: '@frod_san'
institute: https://frodriguezsanchez.net
output:
binb::metropolis:
keep_tex: no
pandoc_args: ['--lua-filter=hideslide.lua']
fontsize: 12pt
urlcolor: blue
header-includes:
\definecolor{shadecolor}{RGB}{230,230,230}
---
```{r include=FALSE}
library('knitr')
knitr::opts_chunk$set(echo = FALSE, cache = FALSE, background = 'red',
out.width = '80%',
# out.height = '2in',
fig.align = 'center')
```
# Reproducibility: good for you, good for everyone
## Automation (good code) saves time
```{r }
include_graphics('images/TrevorBranch-tweet.png')
```
## Code = fully traceable, reproducible analysis
:::::::::::::: {.columns align=center totalwidth=8em}
::: {.column width='50%'}
```{r }
include_graphics('images/unclear-methods.png')
```
:::
::: {.column width='50%'}
Code advantages:
- Easier writing
- Easier, deeper review
- Reusable
:::
::::::::::::::
::: hide :::
## Data without code NOT enough for reproducibility
```{r out.width='95%'}
include_graphics('images/data-not-enough.jpg')
```
\raggedright
\tiny [Hardwicke et al 2021](https://doi.org/10.1098/rsos.201494)
\raggedleft
## Same data -> different results
Do soccer referees give more red cards to dark-skin players?
```{r out.width='95%'}
include_graphics('images/many-analysts.png')
```
29 teams: 2/3 found significant effect
\raggedright
\tiny [Silberzahn et al 2018](https://doi.org/10.1177%2F2515245917747646)
\raggedleft
:::
## Transparency prevents bad practices
```{r out.width='50%'}
include_graphics('images/Fraser-2018.png')
```
```{r out.width='70%'}
include_graphics('images/Fraser-2018-fig.png')
```
p-hacking, HARKing, data fabrication...
\raggedright
\tiny [Fraser et al 2018](https://doi.org/10.1371/journal.pone.0200303)
\raggedleft
## Transparency avoids unnecessary disputes
```{r}
include_graphics('images/physics-code-error.png')
```
```{r}
include_graphics('images/physics-code-error-2.png')
```
## Transparency brings better science
```{r out.width='70%'}
include_graphics('images/Alexey-tuit.png')
```
## Many journals (and funders) value/require reproducibility
```{r out.width='90%'}
include_graphics('images/ESA-policy.png')
```
```{r out.width='20%', fig.align='right'}
include_graphics('images/ESA-logo.jpg')
```
## Many journals value reproducibility
'Papers with exemplary **data and code archiving**
are **more valuable** for future research and [...]
will be given **higher priority** for publication'
(*Molecular Ecology*)
## Many journals require reproducibility
```{r out.width='90%'}
include_graphics('images/EcoLett.png')
```
'We require the **data and code** for reproducing statistical results and generating figures and tables'
'This material will need to be supplied at the **time of submission**'
## Higher impact: cites, reuse, reputation
```{r}
include_graphics('images/cites-advantage.png')
```
\raggedright
\tiny [Colavizza et al 2020](https://doi.org/10.1371/journal.pone.0230416)
\raggedleft
```{r}
include_graphics('images/Maitner2024.png')
```
\raggedright
\tiny [Maitner et al 2024](https://doi.org/10.1002/ece3.70030)
\raggedleft
## Let's stop losing data & code
```{r out.width='40%', fig.align='left'}
include_graphics('images/Vines-title.png')
```
```{r out.width='60%'}
include_graphics('images/Vines-datalost.png')
```
\raggedright
\tiny [Vines et al 2014](https://doi.org/10.1016/j.cub.2013.11.014)
\raggedleft
## Open data & code enable synthesis
```{r out.width='60%', fig.align='left'}
include_graphics('images/Wolkovich.png')
```
```{r }
include_graphics('images/Wolkovich-2.png')
```
\raggedright
\tiny [Wolkovich et al 2012](https://doi.org/10.1111/j.1365-2486.2012.02693.x)
\raggedleft
## Open data & code enable synthesis
```{r out.width='60%', fig.align='left'}
include_graphics('images/Wolkovich.png')
```
```{r out.width='60%'}
include_graphics('images/Wolkovich-1.png')
```
\raggedright
\tiny [Wolkovich et al 2012](https://doi.org/10.1111/j.1365-2486.2012.02693.x)
\raggedleft
::: hide :::
## Reproducible workflows facilitate collaboration
and make everyone happier
```{r echo=FALSE, out.width='90%'}
include_graphics('images/happy-collab.jpg')
```
:::
## Same data -> different results
Do soccer referees give more red cards to dark-skin players?
```{r out.width='95%'}
include_graphics('images/many-analysts.png')
```
29 teams: 2/3 found significant effect
\raggedright
\tiny [Silberzahn et al 2018](https://doi.org/10.1177%2F2515245917747646)
\raggedleft
## 73 teams testing the same hypothesis with the same data
```{r out.width='60%', fig.align='left'}
include_graphics('images/Breznau_PNAS.png')
```
```{r out.width='50%'}
include_graphics('images/Breznau_PNAS_fig.jpg')
```
'This reveals a **universe of uncertainty** that remains hidden when considering a single study in isolation'
'These results call for greater **epistemic humility** and **clarity in reporting** scientific findings'
\raggedright
\tiny [Breznau et al 2022](https://doi.org/10.1073/pnas.2203150119)
\raggedleft
## 132 teams asking same question with same data
How does sibling competition affect nestling growth in blue tits?
```{r out.width='50%'}
include_graphics('images/Gould.png')
```
\raggedright
\tiny [Gould et al 2023](https://doi.org/10.32942/X2GG62)
\raggedleft