Commit aaa2b20
Fix reference-period detection (effect=0.0+NaN SE), warn on bootstrap diagonal VCV
Reference inference: distinguish the injected universal-base reference
(effect=0.0, se=NaN, n_groups=0) from empty bins that also have
n_groups=0 but NaN effect. Prevents mis-splitting when empty bins exist.
Bootstrap HonestDiD: emit UserWarning when using diagonal fallback
(cross-event covariance unavailable). Test asserts warning is raised.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4d65f75 commit aaa2b20
2 files changed
Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
672 | | - | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
673 | 675 | | |
674 | 676 | | |
675 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
676 | 682 | | |
677 | 683 | | |
678 | 684 | | |
| |||
720 | 726 | | |
721 | 727 | | |
722 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
723 | 745 | | |
724 | 746 | | |
725 | 747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | | - | |
| 1298 | + | |
1299 | 1299 | | |
1300 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
1301 | 1307 | | |
1302 | 1308 | | |
1303 | 1309 | | |
| |||
0 commit comments