Commit 8a757b1
Propagate replicate metadata in CS unit-level survey collapse
CallawaySantAnna._collapse_survey_to_unit_level() now carries through
replicate_weights (collapsed via groupby().first()), replicate_method,
fay_rho, n_replicates, and replicate_strata. Previously these fields
were dropped, causing replicate-weight fits to silently fall back to
non-replicate aggregation SEs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a8b3e4c commit 8a757b1
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
382 | 396 | | |
383 | 397 | | |
384 | 398 | | |
| |||
388 | 402 | | |
389 | 403 | | |
390 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
391 | 410 | | |
392 | 411 | | |
393 | 412 | | |
| |||
0 commit comments