Commit 4b5157c
Recompute size_gt from surviving comparison cohorts only
Move size_gt computation to after the inner gc loop so it reflects
only the comparison cohorts that actually survived identification.
Prevents incorrect IF rescaling and analytical SE when some gc's
are skipped due to empty subgroups.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8ce7c5d commit 4b5157c
1 file changed
Lines changed: 18 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 327 | | |
335 | | - | |
| 328 | + | |
336 | 329 | | |
| 330 | + | |
337 | 331 | | |
338 | 332 | | |
339 | 333 | | |
| |||
346 | 340 | | |
347 | 341 | | |
348 | 342 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | 343 | | |
355 | | - | |
| 344 | + | |
356 | 345 | | |
| 346 | + | |
357 | 347 | | |
358 | 348 | | |
359 | 349 | | |
360 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
361 | 365 | | |
362 | 366 | | |
363 | 367 | | |
| |||
0 commit comments