Commit aefa7f3
Validate combined-weight IF ratio, zero aweight scores for zero-weight obs
- Reject combined_weights=True designs where w_r>0 but w_full=0 (the
w_r/w_full ratio is undefined; silently zeroing gives wrong SEs)
- Zero out aweight TSL scores for zero-weight observations to prevent
arbitrary residuals from entering the meat computation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cb0880a commit aefa7f3
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | 1195 | | |
| |||
1442 | 1445 | | |
1443 | 1446 | | |
1444 | 1447 | | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1445 | 1460 | | |
1446 | 1461 | | |
1447 | 1462 | | |
| |||
0 commit comments