Commit d8f6520
Fix CS reg nuisance IF scaling, add SE scale-invariance test
- Remove spurious /n_c from regression nuisance IF correction in
_outcome_regression survey covariate branch. asy_lin_rep_reg is already
per-observation, so dividing by n_c double-scaled.
- Add test_reg_covariates_survey_se_scale_invariance: verifies ATT and SE
are invariant to weight rescaling for reg+covariates+survey.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b5c5fc9 commit d8f6520
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | | - | |
| 1636 | + | |
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
661 | 696 | | |
662 | 697 | | |
663 | 698 | | |
| |||
0 commit comments