Repository for: "Does a Pandemic Increase Religiosity in a Secular Nation? A Longitudinal Examination" (Mauritsen, Bendixen, & Christensen, in review)
Preprint available at https://psyarxiv.com/qsgej/
Updated on 19th July 2022 with an additional wave of data, see _v2
files
pandemic_panel_models.R
: script for fitting all models (NB: computationally intensive)
pandemic_panel_mainplots.R
: plots and tables for main manuscript (depends on the pandemic_panel_fits.RData
generated by pandemic_panel_models.R
)
pandemic_panel_supps.R
: supplementary plots and tables (depends on the pandemic_panel_fits.RData
generated by pandemic_panel_models.R
)
main_data.csv
and exposure_data.csv
: data for all models
reliability_data.csv
: data for reliability analysis of religiosity items
codebook.R
: a codebook for all three data sets
eurostat2021.csv
: external data for poststratification
SupplementaryDocument.pdf
: supplements including discussion of causal inference, missing data, the statistical models, simple prior and posterior predictive checks of all models, details on poststratification and imputation, as well as supplementary results, and a list of R packages, their dependencies, and version number used for the project.
The R package renv
helps to ensure a reproducible package environment and is required to run the scripts.
Some system details:
version R version 4.1.2 (2021-11-01)
os Windows 10 x64 (build 19043)
system x86_64, mingw32
rstudio 2021.09.0+351 Ghost Orchid (desktop)
Comments are very welcome!
Contact: tb@cas.au.dk