This repository accompanies our submission "Communicating uncertain beliefs with conditionals" to the Annual Meeting of the Cognitive Science Society 2021.
The code for the experiment is stored in "blockwords-main", the code for the generation of the stimuli, as well as the stimuli pictures, are stored in "blockwords-main/stimuli".
The Experiment is implemented with Magpie, open "blockwords-main/experiment/index.html" for running the experiment in a browser.
To run webppl-model, run "blockwords-main/model/R/run-model.R", select the priors to be used here (as indicated in the script). Model configuration parameters are stored in "blockwords-main/model/config.yml" and model predictions are saved in a subdirectory of "blockwords-main/model/results", depending on the priors used. The code for the webppl-model is to be found in "blockwords-main/model/webppl-model", regression models in "blockwords-main/model/R/regression_models.R".
All data is stored in "blockwords-main/data", the data filtered by the criteria specified in the paper is stored in "cleaned-data.csv". Various formats of the data (only PE-task, only UC-task, etc.) are stored stored in the subdirectory "formatted-cleaned" for the cleaned data and in "formatted-all" for the entire data set.
All Figures are generated by the script "blockwords-main/R/figures-paper.R"" which saves them under "blockwords-main/data/formatted-cleaned/plots/".