You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use fixed cohort-level survey weight sums for CS aggregation
Replace per-cell survey_weight_sum with fixed cohort-level weight sums
computed once from the full unit-level sample, matching R's did::aggte()
which uses pg = n_g / N (cohort shares from the full sample, not varying
by cell). On unbalanced panels, cell-specific sums can differ from fixed
cohort shares. The WIF already uses fixed pg — this aligns the aggregation
point estimate with the WIF computation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments