Commit ef8b9e1
tutorial: add staggered-rollout vs collapsed-2x2 power decision guide
New self-contained tutorial (docs/tutorials/24_staggered_vs_collapsed_power.ipynb)
framing a 50-state staggered geo rollout, with power analysis showing:
- the collapsed 2x2 silently targets a diluted estimand (reports ~60-94% of the true
effect-on-treated as the rollout staggers; its 95% CI covers the truth ~0% under a slow
rollout), while CS's overall ATT stays on target;
- CS's minimum-detectable-lift penalty is a fast-rollout phenomenon: the 2x2's MDE climbs
as the rollout staggers while CS's stays flat, closing to near parity;
- a clean-tail 2x2 is unbiased only under flat effects; plus a CS-vs-2x2 decision guide.
Runs live (no committed data files), nbmake-clean in pure-Python (~65s). Registered in the
docs toctree, tutorials README, and CHANGELOG; drift-test follow-up tracked in TODO.md.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent dd18dc5 commit ef8b9e1
5 files changed
Lines changed: 889 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
| |||
0 commit comments