Commit cd73917
Fix CI review Round 13: per-period path uses raw Y under trends_linear
P1: When trends_linear=True without controls, _compute_per_period_dids
and _compute_cohort_recentered_inputs now use raw y_pivot outcomes
(not the first-differenced Z_mat). Previously the per-period path
would double-difference the already-differenced outcomes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d20efde commit cd73917
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | | - | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1151 | 1153 | | |
1152 | 1154 | | |
1153 | 1155 | | |
| |||
1581 | 1583 | | |
1582 | 1584 | | |
1583 | 1585 | | |
1584 | | - | |
| 1586 | + | |
| 1587 | + | |
1585 | 1588 | | |
1586 | 1589 | | |
1587 | 1590 | | |
| |||
0 commit comments