Commit 9893454
Fix VCV index alignment, add stationarity warning for panel=False
VCV index: Build event_study_vcov_index from event times that actually
contributed psi vectors (skipping NaN-only periods), not from all
sorted_periods. Fixes misalignment when interior event times drop out.
Stationarity: Document "stationary repeated cross-sections" in panel
parameter docstring. Emit UserWarning on panel=False noting the
stationarity assumption is not data-checkable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent eac680e commit 9893454
2 files changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
1323 | 1325 | | |
1324 | 1326 | | |
1325 | 1327 | | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1326 | 1339 | | |
1327 | 1340 | | |
1328 | 1341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
| |||
666 | 667 | | |
667 | 668 | | |
668 | 669 | | |
| 670 | + | |
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
| |||
753 | 755 | | |
754 | 756 | | |
755 | 757 | | |
756 | | - | |
757 | | - | |
758 | | - | |
| 758 | + | |
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| |||
0 commit comments