ihmeuw-msca / pyDisagg

pydisagg is a Python package for disaggregating estimated count observations across groups under generalized proportionality assumptions.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Align populations to sample size #55

Open AHsu98 opened 4 months ago

AHsu98 commented 4 months ago

If the user inputs a sample size, we should return an adjusted sample size for our inferred "sample" in each post split age bucket that is consistent with the original overall sample size. This would entail taking population weights (as in population_aligned) normalizing, and multiplying by the original study sample size.