ihmeuw-msca / pyDisagg

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Count splitting update #61

Closed AHsu98 closed 2 months ago

AHsu98 commented 2 months ago

fixed total type splitting functionality, can be used for count split…ting. Also added population proportions

AHsu98 commented 2 months ago

output_type = 'rate' satisfies the condition that the population weighted mean of the post-split result adds up to the pre-split val

output_type = 'total' satisfies the condition that the SUM of the post split results adds up to the pre-split val

AHsu98 commented 2 months ago

Added population_proportion column, this gives the normalized population in each post-split group. This is often a useful quantity, for example, can multiply by sample study size to get the post-split pseudo sample sizes!!