Tagline: Accelerating scientific progress through reproducible science
Mission: To train researchers in the best practices and approaches of reproducible research and accelerate scientific progress.
with respect to reproducibility
Science retracted a study of how canvassers can sway people's opinions about gay marriage.
Science Editor-in-Chief: Original survey data not made available for independent reproduction of results + Survey incentives misrepresented + Sponsorship statement false
Two Berkeley grad students attempted to replicate the study and discovered that the data must have been faked.
Methods we'll discuss today can't prevent this, but they can make it easier to discover such issues.
From the authors of Low Dose Lidocaine for Refractory Seizures in Preterm Neonates:
"The article has been retracted at the request of the authors. After carefully re-examining the data presented in the article, they identified that data of two different hospitals got terribly mixed. The published results cannot be reproduced in accordance with scientific and clinical correctness."
The authors informed the journal that the merge of lab results and other survey data used in the paper resulted in an error regarding the identification codes.
Original conclusion: Lower levels of CSF IL-6 were associated with current depression and with future depression […].
Revised conclusion: Higher levels of CSF IL-6 and IL-8 were associated with current depression […].
This is a two-part exercise:
Part 1: Analyze + document
Part 2: Swap + discuss
Complete the following tasks and write instructions / documentation for your collaborator to reproduce your work starting with the original dataset (data/gapminder-5060.csv
).
Visualize life expectancy over time for Canada in the 1950s and 1960s using a line plot.
Something is clearly wrong with this plot! Turns out there's a data error in the data file: life expectancy for Canada in the year 1957 is coded as 999999
, it should actually be 69.96
. Make this correction.
Visualize life expectancy over time for Canada again, with the corrected data.
Stretch goal: Add lines for Mexico and United States.
Introduce yourself to your collaborator and tell them why you're here.
Swap instructions / documentation with your collaborator, and try to reproduce their work, first without talking to each oher. If your collaborator does not have the software they need to reproduce your work, we encourage you to either help them install it or walk them through it on your computer in a way that would emulate the experience. (Remember, this could be part of the irreproducibility problem!)
Then, talk to each other about challenges you faced (or didn't face) or why you were or weren't able to reproduce their work.
Everyone struggles with reproducibility and it is a hindrance to moving science forward
Evan with a fairly simple analysis challenges were faced in four main areas: organization, documentation, automation, and dissemination
Over the two day workshop, data analysis tasks will become more complex as we gather more data and ask more complicated questions, so we need better tools and workflows to combat issues arising in these areas
Organization: tools to organize your projects so that you don't have a single folder with hundreds of files
Automation: the power of scripting to create automated data analyses
Dissemination: publishing is not the end of your analysis, rather it is a way station towards your future research and the future research of others