This repository contains data, code, and output related to the paper
Siepe, B.S., Bartoš, F., Morris, T.P., Boulesteix, A.-L., Heck, D.W. & Pawel, S. (2023). Simulation Studies for Methodological Research in Psychology: A Standardized Template for Planning, Preregistration, and Reporting. doi: 10.31234/osf.io/ufgy6
-
To reproduce the results of our literature review, refer to the files in the folder
/literature-review/
:literature-review/analysis.Rmd
contains the main analyses in the paper and code to reproduce all figures.literature-review/coding_agreement.Rmd
contains code to reproduce the agreement analyses in the appendix.literature-review/lit_review_coding.pdf
contains the questions used in the literature review and displayed in the agreement analyses in the appendix.
-
The folder
/data/
contain the raw data used in these scripts. -
To reproduce our simulation example, refer to the files in the folder
/simulation-example/
:simulation-example/simulation_example.R
is the main simulation file used to generate, analyse, and summarize the simulation datasets. Execute this file to rerun the simulation study.simulation-example/simulation_analysis.R
contains code to analyse and visualize the results of the simulation study, and to reproduce the figures in the manuscript.simulation-example/session-info.txt
includes information on packages used and the computational environment of the simulation study.simulation-example/simulation-data.csv
contains intermediate data from the simulation study (method and simulation wise estimates and p-values)simulation-example/simulation-summaries.csv
contains performance measure summaries from the simulation study
-
To rerun the simulation example via a Docker container, refer to the files:
./Dockerfile
Dockerfile to recreate the computational environment used in the simulation study./Makefile
Makefile to conveniently build and run the Docker analysis: Make sure to have Docker and Make installed, then runmake docker
from the root directory of this git repository. This will install all necessary dependencies. RStudio Server can then be opened from a browser (http://localhost:8787), and the R scripts in/simulation-example/
can be rerun.
-
/figures/
contains all figures related to both parts of the manuscript.
The ADEMP-PreReg template can be found in another GitHub repository. Feel free to open an issue or a pull request there to give feedback or suggest improvements.
The version (v.0.1.0) used in the manuscript is archived on Zenodo.