Closed AHsu98 closed 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
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!!
fixed total type splitting functionality, can be used for count split…ting. Also added population proportions