-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreproducibility.qmd
More file actions
109 lines (73 loc) · 5.72 KB
/
Copy pathreproducibility.qmd
File metadata and controls
109 lines (73 loc) · 5.72 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
# Reproducibility
Our lab adopts the following practices to maximize the reproducibility of our work.
1. Design studies with appropriate methodology and adherence to best practices in epidemiology and biostatistics
2. Register study protocols
3. Write and register pre-analysis plans
4. Create reproducible workflows
5. Process and analyze data with internal replication and masking
6. Use reporting checklists with manuscripts
7. Publish preprints
8. Publish data (when possible) and replication scripts
## What is the reproducibility crisis?
In the past decade, an increasing number of studies have found that published study findings could not be reproduced. Researchers found that it was not possible to reproduce estimates from published studies: 1) with the same data and same or similar code and 2) with newly collected data using the same (or similar) study design. These "failures" of reproducibility were frequent enough and broad enough in scope, occurring across a range of disciplines (epidemiology, psychology, economics, and others) to be deeply troubling. Program and policy decisions based on erroneous research findings could lead to wasted resources, and at worst, could harm intended beneficiaries. This crisis has motivated new practices in reproducibility, transparency, and openness. Our lab is committed to adopting these best practices, and much of the remainder of the lab manual focuses on how to do so.
Recommended readings on the "reproducibility crisis":
- Nuzzo R. How scientists fool themselves -- and how they can stop [@nuzzo2015]
- Stoddart C. Is there a reproducibility crisis in science? [@stoddart2019]
- Munafò MR, et al. A manifesto for reproducible science [@munafo2017]
## Study design
Appropriate study design is beyond the scope of this lab manual and is something trainees develop through their coursework and mentoring.
## Register study protocols
We register all randomized trials on [clinicaltrials.gov](clinicaltrials.gov), and in some cases register observational studies as well.
## Write and register pre-analysis plans
We write pre-analysis plans for most original research projects that are not exploratory in nature, although in some cases, we write pre-analysis plans for exploratory studies as well. The format and content of pre-analysis plans can vary from project to project. Here is an example of one: [https://osf.io/tgbxr/](https://osf.io/tgbxr/). Generally, these include:
1. Brief background on the study (a condensed version of the introduction section of the paper)
2. Hypotheses / objectives
3. Study design
4. Description of data
5. Definition of outcomes
6. Definition of interventions / exposures
7. Definition of covariates
8. Statistical power calculation
9. Statistical analysis:
- Type of model
- Covariate selection / screening
- Standard error estimation method
- Missing data analysis
- Assessment of effect modification / subgroup analyses
- Sensitivity analyses
- Negative control analyses
## Create reproducible workflows
Reproducible workflows allow a user to reproduce study estimates and ideally figures and tables with a "single click". In practice, this typically means running a single bash script that sources all replication scripts in a repository. These replication scripts complete data processing, data analysis, and figure/table generation. The following chapters provide detailed guidance on this topic:
- Chapter 5: Code repositories
- Chapter 6: Coding practices
- Chapter 7: Coding style
- Chapter 8: Code publication
- Chapter 9: Working with big data
- Chapter 10: Github
- Chapter 11: Unix
For additional learning resources on reproducible research practices, see the [UC Davis DataLab workshop on reproducible research](https://github.com/ucdavisdatalab/workshop_reproducible_research).
## Process and analyze data with internal replication and masking
See my video on this topic: [https://www.youtube.com/watch?v=WoYkY9MkbRE](https://www.youtube.com/watch?v=WoYkY9MkbRE)
## Use reporting checklists with manuscripts
Using reporting checklists helps ensure
that peer-reviewed articles contain the information needed
for readers to assess the validity of your work
and/or attempt to reproduce it.
A collection of reporting checklists is available
from the [EQUATOR Network](https://www.equator-network.org/) [@equatornetwork].
Commonly used checklists in our lab include:
- [CONSORT](https://www.equator-network.org/reporting-guidelines/consort/)
(Consolidated Standards of Reporting Trials)
for randomized trials
- [STROBE](https://www.equator-network.org/reporting-guidelines/strobe/)
(Strengthening the Reporting of Observational Studies in Epidemiology)
for observational studies
- [STARD](https://www.equator-network.org/reporting-guidelines/stard/)
(Standards for Reporting Diagnostic Accuracy Studies)
for diagnostic accuracy studies
Please ensure that your manuscript follows these reporting guidelines
before sending it for review.
## Publish preprints
A preprint is a scientific manuscript that has not been peer reviewed. Preprint servers create digital object identifiers (DOIs) and can be cited in other articles and in grant applications. Because the peer review process can take many months, publishing preprints prior to or during peer review enables other scientists to immediately learn from and build on your work. Importantly, NIH allows applicants to include preprint citations in their biosketches. In most cases, we publish preprints on medRxiv [@medRxiv].
## Publish data (when possible) and replication scripts
Publishing data and replication scripts allows other scientists to reproduce your work and to build upon it. We typically publish data on the Open Science Framework [@osf], share links to [Github](github.com) repositories, and archive code on [Zenodo](zenodo.org).