html_clean
html_clean
- Week 1: Tuesday, January 14, 2020
- Week 2: Tuesday, January 21, 2020
- Week 3: Tuesday, January 28, 2020
- Week 4: Tuesday, February 4, 2020
- Week 5: Tuesday, February 11, 2020
- Week 6: Tuesday, February 18, 2020
- Week 7: Tuesday, February 25, 2020
- Week 8: Tuesday, March 3, 2020
- Spring Break March 9 - 12, 2020
- Week 9: Tuesday, March 17, 2020
- Week 10: Tuesday, March 24, 2020
- Week 11: Tuesday, March 31, 2020
- Week 12: Tuesday, April 7, 2020
- Week 13: Tuesday, April 14, 2020
- Week 14: Tuesday, April 21, 2020
- Week 15: Tuesday, April 28, 2020
Week 1: Tuesday, January 14, 2020
Topics
- Introduction to the course
- Needs/interests assessment, and goal setting
- Discussion: Why trust science?
- Setting up computational environments
- On your local machine
- In the cloud
Homework
Due by the start of class on 2020-01-21.
- In a paragraph or two, discuss whether you think researchers in your field do and should embrace “Mertonian norms.” Why or why not?
- In a paragraph or two, describe your current knowledge of computer programming languages, and at least three learning goals you have for building upon that base.
- Create a GitHub account, send me your account name in an email, and see if you can create your own copy (fork or clone) of the course repository. If you succeed, take a screen shot of the repository in your local GitHub account.
- Write these items up in a Word (.docx) file, and email it to me. Make sure to use a sensible file name, e.g.,
psy525-YOUR_LAST_NAME-2020-01-21.docx
.
Week 2: Tuesday, January 21, 2020
Topics
- The values of science
- Cases of scientific misconduct
- What is reproducibility? Are we in a crisis?
Readings/webinars
- The values of science (read 1; skim the others)
- Nosek, B. A., & Bar-Anan, Y. (2012). Scientific utopia I: Opening scientific communication. Psychological Inquiry, 23(3), 217–243. Retrieved May 9, 2015, from http://dx.doi.org/10.1080/1047840X.2012.692215
- Kim, S. Y., & Kim, Y. (2018). The ethos of science and its correlates: An empirical analysis of scientists’ endorsement of Mertonian norms. Science, Technology and Society, 23(1), 1–24. SAGE Publications India. Retrieved from https://doi.org/10.1177/0971721817744438
- Brakewood, B., & Poldrack, R. A. (2013). The ethics of secondary data analysis: Considering the application of Belmont principles to the sharing of neuroimaging data. NeuroImage, 82, 671–676. Retrieved from http://dx.doi.org/10.1016/j.neuroimage.2013.02.040
- Cases of scientific misconduct (read 1; skim the other)
- Reproducibility (skim)
- Open Science Collaboration. (2015). Estimating the reproducibility of psychological science. Science, 349(6251), aac4716–aac4716. https://doi.org/10.1126/science.aac4716
- Supplemental (not required)
- Heesen, R., & Bright, L. K. (2019). Is peer review a good idea? The British Journal for the Philosophy of Science, 40. eprints.lse.ac.uk. Retrieved January 7, 2020, from http://eprints.lse.ac.uk/101242/
- Goodman, S. N., Fanelli, D., & Ioannidis, J. P. A. (2016). What does research reproducibility mean? Science Translational Medicine, 8(341), 341ps12–341ps12. https://doi.org/10.1126/scitranslmed.aaf5027
- http://www.stats.org/what-do-we-mean-by-reproducibility/
Homework
Due by the start of class on 2020-01-28.
- Choose one of the verification bias examples from Flawed Science. In a paragraph or two, propose ways you might avoid this sort of bias in your own research.
- Choose one of the TOP guideline categories where either your own research practices have room to improve or you are doing rather well. In a paragraph or two, explain your reasoning.
Week 3: Tuesday, January 28, 2020
Topics
- Evaluating Munafò et al.’s (2017) “Manifesto for reproducible science”, https://doi.org/10.1038/s41562-016-0021
- Workflows and methods reproducibility
- Tidy data
Readings/webinars
- Munafò, M. R., Nosek, B. A., Bishop, D. V. M., Button, K. S., Chambers, C. D., Sert, N. P. du, … Ioannidis, J. P. A. (2017). A manifesto for reproducible science. Nature Human Behaviour, 1, 0021. https://doi.org/10.1038/s41562-016-0021. (Required)
- Reproducible workflows (Optional)
- Tidy data (Optional)
- Wickham, H. (2014). Tidy Data. Journal of Statistical Software, 59(10). http://dx.doi.org/10.18637/jss.v059.i10.
- File naming (Optional)
- Spreadsheets (Optional)
Homework
Due by the start of class on 2020-01-28.
1 Pick one of the recommended elements from Table 1 in Munafò, et al. (2017). Evaluate the recommendation. Do you agree that it would mitigate one or more threats to reproducibility. Why or why not? Do you agree with the assessment about the degree to which stakeholders have adopted the recommended practice? 2. Edit/create a text-based workflow for an active project you are working on. + Annote the workflow to indicate where it could be made more reproducible, transparent. + If you are feeling super-ambitious, you may want to try creating a graph-based workflow.
Week 4: Tuesday, February 4, 2020
Topics
- Pregistration and registered reports
- Introduction to RStudio and R Markdown
Readings/webinars
- Pre-registration and registered reports
- Chambers, C., Munafò, M., & signatories, more than 80. (2013, June 5). Trust in science would be improved by study pre-registration. The Guardian. Retrieved from https://www.theguardian.com/science/blog/2013/jun/05/trust-in-science-study-pre-registration
- Registered Reports. (n.d.). Retrieved January 24, 2017, from https://cos.io/rr/?_ga=1.163722943.1251838540.1458403228
- Mathot, S. (2013, March 26). The pros and cons of pre-registration in fundamental research. Retrieved January 24, 2017 from http://www.cogsci.nl/blog/miscellaneous/215-the-pros-and-cons-of-pre-registration-in-fundamental-research
- (Optional) Frank, M. (2016, July 22). Preregister everything. http://babieslearninglanguage.blogspot.com/2016/07/preregister-everything.html
- (Optional) Claesen, A., Gomes, S. L. B. T., Tuerlinckx, F., & Vanpaemel, W. (2019, May). Preregistration: Comparing Dream to Reality. Retrieved from psyarxiv.com/d8wex.
- R Markdown exercise
- Optional
Homework
Due by the start of class on 2020-02-11.
- Find a preregistration document for a study relevant to your research interests on
aspredicted.org
orosf.io
. In a few paragraphs, comment on what was and what was not included. Would the preregistration provide researchers sufficient structure to carry out the research without ‘HARKing’? What downsides do you see to preregistration? - Create a template for a reproducible research report in R Markdown.
- Convert your workflow from last week’s assignment into R Markdown.
Week 5: Tuesday, February 11, 2020
Topics
- Version control
- git
- GitHub
- GitHub pages
Readings/webinars
- GitHub and RStudio
- Jenny Bryan’s http://happygitwithr.com/
Homework
Due by the start of class on 2020-02-18.
- Create GitHub repo for the project you completed last week
- Open an issue flagging
@rogilmore
so I know to look at your repo and document.
- Open an issue flagging
- Create a repo for your final course project
- Create a Markdown document where you start to outline the possible directions that your final project might take.
- Open an issue so I can take a look.
- Clone a repo; fix/change something; make a pull request.
- Option 1: http://psu-psychology.github.io/psy-525-reproducible-research-2020/
- Suggestion: Add something about yourself to
students.html
by editingstudents.Rmd
and then rebuilding the site viarmarkdown::render_site(encoding = "utf8")
- Suggestion: Add something about yourself to
- Option 2: https://psu-psychology.github.io/data-science-and-reproducibility/
- Suggestion: Add or edit
resources.html
by editingresources.Rmd
.
- Suggestion: Add or edit
- Option 1: http://psu-psychology.github.io/psy-525-reproducible-research-2020/
Week 6: Tuesday, February 18, 2020
Topics
- Simulation as a tool for reproducible and transparent science
- Visualization tools in R
Readings/webinars
- Required. Data Visualization with ggplot2 (Part 1)
- Desirable. Data Visualization with ggplot2 (Part 2)
Homework
Due by the start of class on 2020-02-25.
- Create your own simulated data set for a real or proposed study.
- You may adapt or build upon the examples used in class.
- Put the results in an R Markdown (.Rmd) file.
- Commit the .Rmd file to your private repo on GitHub and either raise an Issue on GitHub or submit a pull request.
- Plot the results of your simulation using ggplot2 commands.
- Make sure that your simulation has the following sub-sections:
- Introduction/Motivation
- What are you simulating and why? Where do the parameter estimates come from? The literature or your best guess?
- Plots
- Statistical Analyses
- Discussion/Conclusions
- What did you discover or demonstrate?
- Introduction/Motivation
- Please label the r chunks in your R Markdown files
Week 7: Tuesday, February 25, 2020
Topics
- Doing other useful things with R and R Markdown
Readings/webinars
Homework
Due by the start of class on 2020-03-03.
- Create a set of HTML talk slides using R Markdown.
- Try rendering the slides as a Word document, PowerPoint document, or PDF.
- Create a new repo and generate a simple website using R Markdown.
Week 8: Tuesday, March 3, 2020
Topics
- Interactive visualizations using Shiny apps
Readings/webinars (recommended)
Homework
Due by the start of class on 2020-03-17.
- Complete a 1-2 page write-up describing your plans for your final project.
Spring Break March 9 - 12, 2020
NO CLASS
Week 9: Tuesday, March 17, 2020
Topics
- Python, the other language of data science
- Intro to Jupyter
- Jupyter for research, teaching, talks
Readings/webinars
Homework
Due by the start of class on 2020-03-24.
TBD
Week 10: Tuesday, March 24, 2020
Topics
- Tools for reproducible data-gathering
- E-Prime, Matlab (Psychophysics Toolbox), PsychoPy.
- jsPsych
- MTurk
Readings/webinars
- de Leeuw, J.R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behavior Research Methods, 47(1), 1-12. doi:10.3758/s13428-014-0458-y
Homework
Due by the start of class on 2020-03-31.
- Open a PsychoPy demo program and save it with a new name. Add additional documentation to the demo program that explains what’s happening. Change one or more parameters to make the program do something slightly different, and explain what parameters you changed.
Week 11: Tuesday, March 31, 2020
Topics
- Using APIs
- U.S. Census
- Google Drive
- Box
- Wikidata
- Databrary
- OSF
Homework
Due by the start of class on 2020-04-07.
- Create a Jupyter notebook where you document your exploration of the U.S. Census, Box, or Google Drive APIs.
Week 12: Tuesday, April 7, 2020
Topics
- Where to share?
- Publishing data
- Challenges to sharing
- Your open science portfolio
- Funder policies
Readings/webinars
- Meyer, M. N. (2018). Practical Tips for Ethical Data Sharing. Advances in Methods and Practices in Psychological Science, 2515245917747656. SAGE Publications Inc. Retrieved from https://doi.org/10.1177/2515245917747656
- Gilmore, R.O. et al. (2020).
Homework
Due by the start of class on 2020-04-07.
- Choose two outlets for sharing research data or materials and compare and contrast their strengths and weaknesses.
Week 13: Tuesday, April 14, 2020
Topics
- Catch-up week
Week 14: Tuesday, April 21, 2020
Topics
- Preparation for student projects
Week 15: Tuesday, April 28, 2020
Topics
- Student project presentations