This repository contains the data, materials, and the code to reproduce all analyses and figures in the project #Knowledge: Improving food-related knowledge via seeding implemented as a social media intervention. The preregistration and the brms
model files from the analysis can be found on the respective OSF: https://osf.io/vztjq/**. The structure of this repository is as follows:
- Scripts/ holds code relevant for the paper. Specifically:
Scripts/functions.R
contains code of useful R helper functions, e.g., for analysis, plotting etc.Scripts/analysis.R
contains code for the initial data preparation steps, including filtering of participants and trials, calculating descriptive statistics (Table 1 and 2 in the manscuript), and making the main results figure (Figure 3).Scripts/analysis_Hypothesis1.R
contains the code to run the analysis for Hypothesis 1.Scripts/analysis_Hypothesis2.R
contains the code to run the analysis for Hypothesis 2.Scripts/analysis_Hypothesis3.R
contains the code to run the analysis for Hypothesis 3.Scripts/analysis_Hypothesis1_sensitivity.R
contains the code to run the analysis for Hypothesis 1 with more skeptical priors.Scripts/analysis_Hypothesis2_sensitivity.R
contains the code to run the analysis for Hypothesis 2 with more skeptical priors.Scripts/analysis_Hypothesis3_sensitivity.R
contains the code to run the analysis for Hypothesis 3 with more skeptical priors.Scripts/aanalysis_Hypothesis1_seedingItems.R
contains the code to run the analysis for Hypothesis 1 but only for the seeding items as reported in the supplementary materials (see here).Scripts/appendix_A1.R
contains the code to produce the Table A1.Scripts/appendix_A2.R
contains the code to produce the Figure B1.Scripts/analysis_compute_standardized_effect_sizes.R
contains the code to compute the standardizeded effect size reported in the main text (for more information see also the supplementary materials here).
- Data/ contains the data files. Specifically:
Data/data_insta_seeding.csv
which contains the full data.Data/df_analysis.csv
which contains the filtered and cleaned data used for all analysis.
- Results/ contains the script
download_brms_files_from_OSF.R
which downloads allbrms
model files from the OSF (Caution: This might take a few minutes).
- Materials/ contains all seeding fact and trivia fact images used during the 15 day seeding phase.
- Plots/ includes all figures in the manuscript.
This work, including all figures, is licensed under a Creative Commons Attribution 4.0 International License. All code is licensed under the MIT License.
David Izydorczyk, Barbara Kreis, Michael Kilb & Arndt Bröder
Will be added soon.
(work in progress)
This research was funded by Grant IZ 96/1-1 provided to David Izydorczyk from the German Research Foundation (DFG) and supported by the University of Mannheim’s Graduate School of Economic and Social Sciences.