Our supplemental material contains the necessary data and scripts to reproduce our analysis. It also contains additional figures related to our analysis ('Appendix 1.pdf').
Our data is in the 'experimental data.csv' and more information about its content can be found in the markdown file 'codebook.md'.
The main script to run our analysis is 'running multinomial model.R'. It automatically executes the other two R scripts that we provided here: first the 'multinomial model.R' (model structure) and then the 'variables for models.R' (processed data).
**It is important to have the following packages installed before running the R scripts here provided:**
- *devtools*
- *coda*
- *rstan* (also needs to configure C++ toolchain, more information at https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started)