Analysis Code: Validation of the Moral Foundations Questionnaire-2 (MFQ-2) in Germany: Psychometric properties and associations with political ideology, religiosity, and personality
Author(s) / Creator(s)
Musa, Nico Sebastian
Müller, Sarah Marie
Hopp, Frederic René
Abstract / Description
This object contains the complete analysis code underlying the Stage 2 Registered Report "Validation of the Moral Foundations Questionnaire-2 (MFQ-2) in Germany: Psychometric properties and associations with political ideology, religiosity, and personality". Five R scripts are provided: a standalone screening helper used during data collection for compensation decisions; a data-preparation script implementing the pre-registered case-wise exclusions, scale construction and grouping variables; the main analysis script, which reproduces all reported analyses, tables and figures (descriptives and distributional diagnostics; ESEM and CFA structural validation with split-sample cross-validation and model selection; McDonald's omega reliability; measurement invariance across gender and age cohorts; the nomological network; exploratory analyses with Benjamini-Hochberg correction; and additional analyses not specified in the protocol, including correlation confidence intervals, full loading matrices and invariance per subscale); a verification script asserting 238 reported values against the script output; and a rendering script that turns the analysis and verification scripts, unchanged, into HTML reports. The two HTML reports of a complete run are included, together with PDF/A copies for long-term preservation, so that all code and console output can be inspected without re-running the analyses. All analyses are deterministic: RNGkind is pinned and set.seed(2026) is set, so repeated runs return identical values and bit-identical figures. The run environment is documented in session_info.txt (R 4.6.1 and all package versions). The scripts operate on the dataset deposited as a separate object of the type Research Data within the same submission.
Persistent Identifier
Date of first publication
2026-11-06
Publisher
PsychArchives
Is referenced by
Citation
-
README.mdUnknown - 10.57KBMD5 : f5ea9653f53e95cc275f661400a5c971
-
00_screening_script.RUnknown - 3.44KBMD5 : 8dc8ca692c83dbdefdb6ccd2e071cd25
-
01_data_preparation.RUnknown - 15.88KBMD5 : 9b9f255f884be71939b5dd59b751c24e
-
02_data_analysis.RUnknown - 85.57KBMD5 : bfc512a058a1b6e5a036f9bb3b944cea
-
run_check.RUnknown - 45.26KBMD5 : 97acb8be4581172ef6f93406397ebdd8
-
render_reports.RUnknown - 2.73KBMD5 : 2f637800bd0afc8b4eb565205f3869cc
-
02_data_analysis.htmlHTML - 1.2MBMD5 : 11bc958c0fdc34b5742c196cc0f01d8c
-
run_check.htmlHTML - 1.01MBMD5 : 41e70f0517f9efbd8009e1e8c18c04ba
-
02_data_analysis.pdfAdobe PDF - 248.72KBMD5 : 212768fb151b444fcc3b1e5e57b723fd
-
run_check.pdfAdobe PDF - 46.37KBMD5 : dbcc5e75042b92c2bec8c3a15eb833ea
-
session_info.txtText - 3.32KBMD5 : bd9848ff42973afa3528f8b18f311f15
-
There are no other versions of this object.
-
Author(s) / Creator(s)Musa, Nico Sebastian
-
Author(s) / Creator(s)Müller, Sarah Marie
-
Author(s) / Creator(s)Hopp, Frederic René
-
PsychArchives acquisition timestamp2026-11-06T13:19:18Z
-
Made available on2026-11-06T13:19:18Z
-
Date of first publication2026-11-06
-
Abstract / DescriptionThis object contains the complete analysis code underlying the Stage 2 Registered Report "Validation of the Moral Foundations Questionnaire-2 (MFQ-2) in Germany: Psychometric properties and associations with political ideology, religiosity, and personality". Five R scripts are provided: a standalone screening helper used during data collection for compensation decisions; a data-preparation script implementing the pre-registered case-wise exclusions, scale construction and grouping variables; the main analysis script, which reproduces all reported analyses, tables and figures (descriptives and distributional diagnostics; ESEM and CFA structural validation with split-sample cross-validation and model selection; McDonald's omega reliability; measurement invariance across gender and age cohorts; the nomological network; exploratory analyses with Benjamini-Hochberg correction; and additional analyses not specified in the protocol, including correlation confidence intervals, full loading matrices and invariance per subscale); a verification script asserting 238 reported values against the script output; and a rendering script that turns the analysis and verification scripts, unchanged, into HTML reports. The two HTML reports of a complete run are included, together with PDF/A copies for long-term preservation, so that all code and console output can be inspected without re-running the analyses. All analyses are deterministic: RNGkind is pinned and set.seed(2026) is set, so repeated runs return identical values and bit-identical figures. The run environment is documented in session_info.txt (R 4.6.1 and all package versions). The scripts operate on the dataset deposited as a separate object of the type Research Data within the same submission.en
-
Publication statusunknown
-
Review statusunknown
-
Persistent Identifierhttps://hdl.handle.net/20.500.12034/18033
-
Persistent Identifierhttps://doi.org/10.23668/psycharchives.22701
-
Language of contenteng
-
PublisherPsychArchives
-
Is referenced byhttps://doi.org/10.1371/journal.pone.0345599
-
Is related tohttps://doi.org/10.23668/psycharchives.21651
-
Is related tohttps://www.psycharchives.org/handle/20.500.12034/18032
-
Dewey Decimal Classification number(s)150
-
TitleAnalysis Code: Validation of the Moral Foundations Questionnaire-2 (MFQ-2) in Germany: Psychometric properties and associations with political ideology, religiosity, and personalityen
-
DRO typecode
-
Leibniz institute name(s) / abbreviation(s)ZPID