diff --git a/docs/ch13_stroop.md b/docs/ch13_stroop.md new file mode 100644 index 0000000..a0c3240 --- /dev/null +++ b/docs/ch13_stroop.md @@ -0,0 +1,19 @@ +# Stroop Example (Chapter 13) + +**Data**: `data/synthetic/psych_stroop_*.csv` generated by `scripts/sim_stroop.py`. + +**Run**: +```bash +python scripts/sim_stroop.py +python scripts/ch13_stroop_within.py --save-plots +``` + +**Columns** (trials): +- subject: int (1–60) +- condition: congruent|incongruent +- trial: 1..100 per condition +- rt_ms: reaction time (ms) +- correct: 0/1 + +Outputs in `outputs/`: subject-means spaghetti & trial-level violins. +