Tools For Reproducible Research
Alexandru Cernat
March 28, 2022
Please join as we conduct a new PDHP workshop titled “Tools For Reproducible Research”, presented by Alexandru Cernat (associate professor of social statistics, University of Manchester). This half-day workshop will cover the main concepts of reproducible research as well as best practices in the field (including meta-analyses, pre-registration, and sensitivity analysis), while mixing both lecture and practical application. Attendees will also get hands-on practice with state-of-the-art tools of reproducible research, such as research project management using R/RStudio and version control using Github.
Topics include:
- Challenges to social research such as publication bias and specification bias
- Solutions to the reproducibility crisis: meta-analyses, pre-registration, and sensitivity analysis
- Tools for better research workflows: project management (via Rprojects and the renv package), version control via Github, and dynamic documents (via git, usethis and Rmarkdown)
Slides & Lab Materials:
Workshop slides available here
Technical Guide available here
Sample R script creating dynamic document using rmarkdown
Software:
This workshop relies on R/RStudio and Git
––R software (required)
––R Studio (strongly recommended)
––Git software (required)
––R packages RMarkdown and usethis (all required; install code below)
## install packages
install.packages(c("rmarkdown","usethis"))
References & additional resources:
- “Transparent and Reproducible Social Science Research” by Garrett Christensen, Jeremy Freese, and Edward Miguel (2019, University of California Press)
- “Reproducible Research with R and RStudio” by Christopher Gandrud (2015, CRC Press)
- “R Markdown: The Definitive Guide” by Yihui Xie, J. J. Allaire, and Garrett Grolemund (2022, available free online via Bookdown.org)