From c4e3d52f5a3bb0e439950ed9dcbe9e4549aadf97 Mon Sep 17 00:00:00 2001 From: Nicholas Karlson Date: Sun, 9 Nov 2025 10:08:12 -0800 Subject: [PATCH] docs: add Stroop example README --- docs/ch13_stroop.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/ch13_stroop.md 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. +