16/08/2026
This work was originally created by Malika Ihle and subsequently adapted by Sarah von Grebmer zu Wolfsthurn and Malika Ihle. This current work licensed under a CC-BY-SA 4.0 Creative Commons Attribution 4.0 International SA License. It permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
Creator: Ihle, Malika (
0000-0002-3242-5981)
Reviewer: Von Grebmer zu Wolfsthurn, Sarah (
0000-0002-6413-3895)
Consultant: Schönbrodt, Felix (
0000-0002-8282-3910)
Important
Before completing this submodule, please carefully read about the prerequisites.
| Prerequisite | Description | Link/Where to find it |
|---|---|---|
| UNESCO Recommendations on Open Science | Recommended reading: pp 6-19 | Download Link |
| Introduction to the reproducibility and replicability | Basic familiarity with current challenges in research and the effects on research quality | ADD Link to slide deck |
QR code here
What is replicability?
Obtaining consistent results when the same data and methods are used again
Obtaining statistically significant results when repeating an analysis
Obtaining consistent results when a study is conducted again using new data and following the same methods
Reanalyzing the original data using a different statistical method
What is reproducibility?
Obtaining statistically significant results when repeating an analysis
Collecting new data to test whether an original finding generalizes to a different population
Using multiple statistical methods to determine which produces the strongest result
Obtaining consistent results when the same data and methods are used again
What is HARK-ing?
Changing your statistical analysis plan before collecting data and preregistering the new plan
Presenting a hypothesis developed after seeing the data as if it had been predicted before the study
Repeating an analysis using a different statistical software package to check its accuracy
Reporting both significant and non-significant results in a research paper
What is p-hacking?
Changing a hypothesis after seeing the results and presenting it as if it were predicted beforehand
Registering multiple hypotheses before collecting data to reduce the risk of false positives
Repeating an analysis using a different statistical method to assess the robustness of a finding
Using flexibility in data collection, analysis, or reporting to find and report statistically significant results
The Research Life Cycle from the Open Science Framework.
QR Code here
Which research methodologies do you use in your research? (Select all that apply)
Quantitative or experimental methods
Observational methods
Qualitative methods
Theoretical methods
Mixed qualitative and quantitative methods
None of the above
Which of the following Open Science practices have you already heard of? (Select all that apply)
Preregistration
Registered reports
Simulation methods for power analysis
Computational reproducibility (e.g., code documentation, RStudio projects, version control …)
None of the above
Which of the following concepts or skills do you feel most confident about in relation to computational reproducibility? (Select all that apply)
Creating and using RStudio projects
Using a standardized folder structure for your projects
Automatizing workflows through different scripts for different processing steps
Commenting my code
Using Quarto to combine code, text, figures etc. in one location
Version control with Git
None of the above
What do we see in the results?
After this session, learners will be able to:
Explain how common research practices and biases, such as p-hacking, HARKing, and researcher degrees of freedom, can threaten the credibility and replicability of research
Define key concepts related to credible and open research, including Open Research, preregistration, registered reports, FAIR data, and computational reproducibility.
Describe how open research practices, such as preregistration, registered reports, simulations, data sharing, and reproducible workflows, can help address threats to research credibility.
Identify key components of a computationally reproducible workflow, including data, code and documentation, and the computational environment, and matching them to appropriate practices and tools.
Adapted from Malika Ihle: https: https://osf.io/u3znx


Forstmeier et al. (2016); Munafo et al. (2017); Wagenmakers et al. (2012)
Forstmeier et al. (2016); Munafo et al. (2017); Wagenmakers et al. (2012)
Forstmeier et al. (2016); Munafo et al. (2017); Wagenmakers et al. (2012)
Possible researcher “decisions” could be:
Open Research
a.k.a.
A scientific framework for the 21. century
(without internet search - your current understanding)
UNESCO defines it as:
“[…] open science is defined as an inclusive construct that combines various movements and practices aiming to make multilingual scientific knowledge openly available, accessible and reusable for everyone, to increase scientific collaborations and sharing of information for the benefits of science and society, and to open the processes of scientific knowledge creation, evaluation and communication to societal actors beyond the traditional scientific community.”


Note
These pillars are not set in stone, different frameworks and disciplines identify different pillars.
Adapted from the UNESCO Recommendations on Open Science and from CyVerse (2025).

Adapted from Danielle Robinson and Robin Champieux (Robinson, 2018) https://osaos.codeforscience.org/what-is-open/. Badges from the Center for Open Science.

Adapted from Christina Bergmann’ slides.

= “specifying your research plan in advance of your study and submitting it to a registry”.
Text and badge from the Center for Open Science.
= p-hacking

= “a publishing format that emphasizes the importance of the research question and the quality of methodology by conducting peer review prior to data collection.”
How to know whether your planned statistical test is appropriate?
QR code here
What is a preregistration?
A report of the study results that is submitted after data collection
A time-stamped record of a study’s research questions, hypotheses, methods, and/or analysis plans made before the research is conducted
A requirement to publish all study results regardless of their statistical significance
A method for repeating a study using a new sample
What is a Registered Report?
A preregistration that is kept private until the study is published
A research paper that reports the results of a previously published study
A publishing format in which the study protocol is peer reviewed before data are collected, followed by a second stage of review after the study is completed
A statistical method for determining the required sample size
What is the main purpose of data simulation when planning a study?
To replace the collection of real data with simulated data
To make a study’s results more statistically significant
To generate data that can be reported as if they were collected from real participants
To explore how different assumptions about the data and analysis may affect the study’s results and inform decisions such as sample size and analysis plans
What remains unclear this far? What questions do you have?
-> Reproducible and more efficient when new data, new collaborator, new project
-> Possibility to correct errors



Slide copied from Tim Errington: https://osf.io/dnym9/files/k8sfv
🔎 FINDABLE
Where is the data?
Data and/or metadata are deposited in a repository • Persistent identifier (e.g., DOI)
🔓 ACCESSIBLE
Can the data be accessed?
Open access or clearly described access conditions • Metadata remain accessible
🔗 INTEROPERABLE
Can it work with other data?
Standard metadata • Stable, open file formats
♻️ REUSABLE
Can others understand and use it?
Clear documentation (e.g., variable definitions) • Data usage licence
FAIR = Findable · Accessible · Interoperable · Reusable

A. Portable and self-contained project
B. Automatize workflow
C. Create dynamic report
D. Version control

A. Portable and self-contained project:
good project management
B. Automatize workflow:
stop clicking, start coding
C. Create dynamic report:
write reproducible manuscripts
D. Version control:
track your changes
R-Studio Projects

RStudio project .Rproj: raw data, script and documentation, and outputs in the same project directory
(Standardized) Folder structure


Standardized folder structure to increase clarity and reproducibility
Separate your scripts

00-analyse.R

Keep data machine readable

Comment your code
Literate programming (e.g., Quarto)



Example in RStudio source editor:
Example in RStudio visual editor:
Git as a version control system

GitHub as software development host


Example of version controlled document in RStudio:




Ultimate goal: Perform repeated independent studies likely to reach the same outcome
| The research practice of | boosts .. | because.. |
|---|---|---|
| Preregistration | Reliability | limits hindsight and cognitive bias, a priori planning, limits false positives |
| Registered reports | Reliability | limits hindsight and cognitive bias, a priori planning, limits false positives, feedback by experts before conducting the study |
| Simulations | Reliability | strengthens confidence in planned statistical analysis |
| Data sharing | Reproducibility | making data available to others for reuse with FAIR principles |
| Code and documentation reproducibility | Reproducibility | portable projects (Rproj), automatization (README, folders), dynamic reporting (Quarto), version control (Git, GitHub |
QR code here
Which of the following best reflects the FAIR principles for research data?
Data should always be freely available, stored in the same file format, and understandable without documentation.
Data should only be shared after publication and should be accessible without any authentication or restrictions.
Data are FAIR when they can be opened and understood by the researcher who originally collected them.
Data should be Findable, Accessible, Interoperable, and Reusable, supported by appropriate metadata, identifiers, standards, documentation, and usage licences.
What is the purpose of an RStudio Project?
To provide a dedicated working environment that makes it easier to organize a project’s files and maintain a portable, self-contained workflow
To automatically save all R objects, analyses, and outputs so that a project can be reproduced without sharing its code or data
To ensure that all files used in an analysis are stored in a single folder, regardless of whether the analysis depends on files or resources elsewhere
To replace version control by maintaining a complete history of changes to the project’s data, scripts, and outputs
Correct answer: a
What is the main purpose of literate programming with Quarto in an open science workflow?
To keep the research narrative, analysis code, and results connected, making the research process more transparent and reproducible
To automate statistical decisions so that researchers do not need to document their analytical choices
To separate analysis code from the manuscript so that each can be independently reproduced
To produce a polished manuscript without requiring researchers to share their underlying analysis code
Correct answer: a
What is the main purpose of version control in an open science workflow?
To automatically correct errors in research code and ensure that analyses produce the expected results
To track changes to project files over time, making it possible to review, compare, and recover earlier versions of the work
To ensure that all researchers working on a project edit the same files simultaneously without creating different versions
To automatically make research data and code publicly accessible as soon as they are created
Correct answer: b
One-minute paper: Imagine you would have to explain the concept of computational reproducibility to a friend. Write down what you would say to them. (Tip: Include the three core elements and provide concrete strategies and tools for each of the elements)
What are you taking away from today?
Plan before you carry out your study: Highly effective way to make research decisions a priori while reducing bias and increasing reliability of your work
Automate and document your research steps: Well-organized projects, machine-readable data, scripted and commented workflows, dynamic reports, and version control (Git) reduce errors and make your work reproducible and transparent
Make your research workflow transparent: Share data, code, documentation, and computational environments whenever possible to allows others (and your future self) to understand, reproduce, reuse and build on your work.
Reliability + reproducibility → greater replicability and credibility
After this session, learners will be able to:
Explain how common research practices and biases, such as p-hacking, HARKing, and researcher degrees of freedom, can threaten the credibility and replicability of research. ✅
Define key concepts related to credible and open research, including Open Research, preregistration, registered reports, FAIR data, and computational reproducibility.✅
Describe how open research practices, such as preregistration, registered reports, simulations, data sharing, and reproducible workflows, can help address threats to research credibility. ✅
Identify key components of a computationally reproducible workflow, including data, code and documentation, and the computational environment, and matching them to appropriate practices and tools. ✅
QR code here
Which of the following concepts or skills do you feel most familiar with in relation to computational reproducibility? (Select all that apply)
Creating and using RStudio projects
Using a standardized folder structure for your projects
Automatizing workflows through different scripts for different processing steps
Commenting my code
Using Quarto to combine code, text, figures etc. in one location
Version control with Git
None of the above

LMU Open Science Center