-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7c1c28f
Showing
440 changed files
with
236,587 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Explanations Communicate Optimal Interventions | ||
|
||
|
||
This repository contains the experiment, data, analyses and figured for the CogSci 2024 paper "Do as I explain" Explanations communicate optimal interventions" by Lara Kirfel, Jacqueline Harding, Jeong Shin, Cindy Wu, Thomas Icard and Tobias Gerstenberg. | ||
|
||
## Abstract | ||
|
||
People often select only a few events when explaining what happened. What drives people's explanation selection? Prior research argued that people's explanation choices are affected by event normality and causal structure. Here, we propose a new model of these existing findings and test its predictions in a novel experiment. The model predicts that speakers value accuracy and relevance. They choose explanations that are true, and that communicate useful information to the listener. We test the model's predictions empirically by manipulating what goals a listener has and what actions they can take. Across twelve experimental conditions, we find that our model accurately predicts that people like to choose explanations that communicate optimal interventions. | ||
|
||
## Pre-registrations | ||
|
||
The pre-registrations for all experiments may be accessed via the Open Science Framework [here](https://osf.io/fpyst/). | ||
|
||
Here are separate links for each experiment: | ||
- [Condition "Hard Intervention / Negative Outcome"](https://osf.io/8k9sy) | ||
- [Condition "Hard Intervention / Positive Outcome"](https://osf.io/7qzu9) | ||
- [Condition "Soft Intervention / Negative Outcome"](https://osf.io/aw286) | ||
- [Condition "Soft Intervention / Positive Outcome"](https://osf.io/dmgcw) | ||
- [Condition "Fixed Intervention / Negative Outcome"](https://osf.io/49bfq) | ||
- [Condition "Fixed Intervention / Positive Outcome"](https://osf.io/rbu7y) | ||
|
||
## Repository structure | ||
|
||
``` | ||
. | ||
├── code | ||
│ └── R | ||
├── data | ||
├── docs | ||
│ ├── analyses | ||
│ ├── experiment_1 | ||
│ ├── experiment_2 | ||
│ └── experiment_3 | ||
├── figures | ||
│ └── plots | ||
└── writeup | ||
└── cogsci | ||
``` | ||
|
||
### code | ||
|
||
This folder contains two types of R scripts. | ||
|
||
- The model predictions can be seen [here](https://cicl-stanford.github.io/explanation_intervention/analyses/model/index.html) | ||
- The analyses and plots can be seen [here](https://cicl-stanford.github.io/explanation_intervention/analyses/experiments/index.html) | ||
|
||
- <code>R/optimal_intervention_model</code>: | ||
- <code>R/optimal_intervention.rmd</code> creates the model predictions for the intervention model, the truth model and a combined model. | ||
- <code>explanation_predictions_truth_only.csv</code>, for example, contains the predictions for a "Truth Only" model. | ||
- <code>R/experiments</code>: This folder contains all raw data from all experimental conditions. | ||
- <code>[...]study_X-responses.csv</code> contains the response data (i.e., intervention and explanation selection). | ||
- <code>[...]study_X-participants.csv</code> contains demographic information and post-experiment feedback/comments from participants. | ||
- <code>Experiment.rmd</code> reads in the response data from each experimental condition (e.g., fixed intervention / negative), calculates average responses and outputs these in a new data file (e.g., <code>fixedint_negative.csv</code>). | ||
|
||
### docs | ||
|
||
Contains all the experiment code. You can preview the experiments below: | ||
|
||
- [Condition "Hard Intervention / Positive Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_1/index.html?condition=1) | ||
|
||
- [Condition "Hard Intervention / Negative Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_1/index.html?condition=3) | ||
|
||
- [Condition "Soft Intervention / Positive Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_2/index.html?condition=1) | ||
|
||
- [Condition "Soft Intervention / Negative Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_2/index.html?condition=3) | ||
|
||
- [Condition "Fixed Intervention / Positive Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_3/index.html?condition=1) | ||
|
||
- [Condition "Fixed Intervention / Negative Outcome"](https://cicl-stanford.github.io/explanation_intervention/experiment_3/index.html?condition=3) | ||
|
||
|
||
### data | ||
|
||
Contains anonymized combined data for all experimental conditions (hard / soft / fixed intervention x positive / negative outcome) (for raw data and how these were computed, see <code>code/R/</code>). | ||
|
||
For example, <code>fixedint_negative.csv</code> contains the average percentage of choice selection (abnormal switch, normal switch, no preference) in the intervention and explanation task. | ||
|
||
<code>data_int.csv</code> combines all four dataframes (hardint_pos, hardint_neg, softint_pos, softint_neg, fixedint_pos, fixedint_neg) | ||
|
||
|
||
### figures | ||
|
||
Contains all the figures from the paper (generated using the script in <code>code/R/experiments</code>). | ||
|
||
### writeup | ||
|
||
Contains a pdf of the CogSci 2024 paper. | ||
|
||
## CRediT | ||
|
||
Please see [here](https://www.elsevier.com/researcher/author/policies-and-guidelines/credit-author-statement) for definitions of the different terms. | ||
|
||
| | Lara | Jacqueline | Jeong | Cindy | Thomas | Tobias | | ||
|----------------------------|------|------------|-------|-------|--------|--------| | ||
| Conceptualization | X | | | | X | X | | ||
| Methodology | X | X | X | | | X | | ||
| Software | X | X | X | X | | X | | ||
| Validation | X | | | | | X | | ||
| Formal analysis | X | X | | | | X | | ||
| Investigation | X | | X | | | | | ||
| Resources | | | | | | | | ||
| Data Curation | X | | | | | X | | ||
| Writing - Original Draft | X | X | | | | | | ||
| Writing - Review & Editing | X | X | X | X | X | X | | ||
| Visualization | | | | | | X | | ||
| Supervision | | | | | X | X | | ||
| Project administration | | | | | | X | | ||
| Funding acquisition | | | | | | X | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Experiments readme | ||
|
||
Information about each of the experiment that is run as part of this project. | ||
|
||
Experiment 1: Missing --- was it turned into Experiment 1b? | ||
|
||
Experiment 1b: "Hard Interventions" | ||
"The Influence of Outcome Valence on Explanation Selection in Positive / Negative Outcome Cases" | ||
People select a hard intervention that turns the switch ON or OFF in Conjunctive and Disjunctive Structures with positive and negative outcomes. | ||
Condition 1: Con/Pos , Dis/Pos | ||
Condition 2: Dis/Pos , Con/Pos | ||
Condition 3: Con/Neg , Dis/Neg | ||
Condition 4: Dis/Neg , Con/Neg | ||
|
||
Positive Condition pre-reg: https://osf.io/7qzu9 | ||
Negative Condition pre-reg: https://osf.io/8k9sy | ||
|
||
Experiment 2: "Probability Estimation" | ||
"Estimating outcome probability in causal structures with positive and negative outcomes" | ||
One Condition | ||
Pre-reg: https://osf.io/dmgcw | ||
|
||
Experiment 3: "Soft interventions" | ||
"The Influence of Normality on Explanation Selection in Soft Intervention Cases for Positive and Negative Outcomes" | ||
People select a soft intervention of increasing or decreasing the probablity by 20%. | ||
Condition 1: Con/Pos , Dis/Pos | ||
Condition 2: Dis/Pos , Con/Pos | ||
Condition 3: Con/Neg , Dis/Neg | ||
Condition 4: Dis/Neg , Con/Neg | ||
|
||
|
||
Positive Condition pre-reg: https://osf.io/dmgcw | ||
Negative Condition pre-reg: https://osf.io/aw286 | ||
|
||
Experiment 4: Fixed Interventions | ||
"The Influence of Normality on Explanation Selection in Fixed Intervention Cases for Positive and Negative Outcomes" | ||
People select a fixed intervention of increasing or decreasing the probablity to 90%/10%, irrespective of the probability | ||
|
||
Condition 1: Con/Pos , Dis/Pos | ||
Condition 2: Dis/Pos , Con/Pos | ||
Condition 3: Con/Neg , Dis/Neg | ||
Condition 4: Dis/Neg , Con/Neg | ||
|
||
Experiment 5: Cost of Interventions, with Intervention Task | ||
"The Influence of Cost of Interventions on Explanation Selection" | ||
People select an intervention that is either cheap or expensive. Includes Intervention Task | ||
|
||
Condition 1: Con/Pos | ||
Condition 2: Dis/Pos | ||
|
||
|
Oops, something went wrong.