Commit fd28256
Address PR #408 R0 review (1 P2 test gap)
R0 P2: test_per_path_se_within_envelope_of_unweighted claimed an SE
invariant in its name but only asserted point-estimate equality. Add
finite-SE rtol=0.10 envelope assertion alongside the existing effect
equality, matching the test's documented contract. Under unit weights
+ single stratum + PSU=group, Binder TSL contributes a Bessel n/(n-1)
factor relative to plug-in SE's plain 1/n divisor, so SEs differ by
O(1/n) but track within a few percent on cohort-clean panels.
Empirical observation on the test fixture: max rtol ~0.84% (well
under the 10% envelope).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f8f66a1 commit fd28256
1 file changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9372 | 9372 | | |
9373 | 9373 | | |
9374 | 9374 | | |
9375 | | - | |
| 9375 | + | |
| 9376 | + | |
| 9377 | + | |
| 9378 | + | |
| 9379 | + | |
| 9380 | + | |
| 9381 | + | |
| 9382 | + | |
| 9383 | + | |
| 9384 | + | |
| 9385 | + | |
| 9386 | + | |
9376 | 9387 | | |
9377 | 9388 | | |
9378 | 9389 | | |
| |||
9393 | 9404 | | |
9394 | 9405 | | |
9395 | 9406 | | |
9396 | | - | |
| 9407 | + | |
9397 | 9408 | | |
9398 | 9409 | | |
9399 | 9410 | | |
| |||
9405 | 9416 | | |
9406 | 9417 | | |
9407 | 9418 | | |
| 9419 | + | |
| 9420 | + | |
| 9421 | + | |
| 9422 | + | |
| 9423 | + | |
| 9424 | + | |
| 9425 | + | |
| 9426 | + | |
| 9427 | + | |
| 9428 | + | |
| 9429 | + | |
| 9430 | + | |
| 9431 | + | |
| 9432 | + | |
| 9433 | + | |
9408 | 9434 | | |
9409 | 9435 | | |
9410 | 9436 | | |
| |||
0 commit comments