/counterfactual_hypothetical

Materials for the paper "What would have happened? Counterfactuals, hypotheticals, and causal judgments"

Primary LanguageJavaScript

Readme

Materials for the paper "What would have happened? Counterfactuals, hypotheticals, and causal judgments".

Repository structure

.
├── code
│   ├── R
│   │   ├── cache
│   │   └── data
│   ├── experiments
│   │   ├── experiment_1
│   │   ├── experiment_2
│   │   └── experiment_3
│   └── python
│       ├── data
│       ├── figures
│       └── trialinfo
├── data
├── docs
├── figures
│   ├── paper
│   └── screenshots
│       ├── experiment_1
│       ├── experiment_2
│       └── experiment_3
└── videos

code

R

Analysis and plotting script. You can view a rendered html file of the analysis here.

experiments

The experiments were programmed using psiturk. Experiment 1 asked for causal judgments, Experiment 2 asked for counterfactual judgments, and Experiment 3 asked for hypothetical judgments.

python

Modeling code that implements the simulation model. This code base was also used to create the video clips.

data

Contains anonymized database from all three experiments combined.

figures

Figures from the paper, and experiment screenshots.

videos

Video clips used in the experiments.