Skip to content

Releases: ihmeuw-msca/pyDisagg

v0.6.0

09 Oct 21:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.6.0

v0.5.1

09 Jul 23:05
Compare
Choose a tag to compare

Added

  • Count splitting:

    • output_type = 'rate' satisfies the condition that the population weighted mean of the post-split result adds up to the pre-split value.
    • output_type = 'total' satisfies the condition that the SUM of the post-split results adds up to the pre-split value.
  • Age splitting columns:

    • Population_total: the sum of age group specific populations across a study.
    • Population_proportion: the normalized population in each post-split group.
    • Implication: can multiply population_proportion by sample study size to get the post-split pseudo sample sizes.

Fixed

  • Error messaging in sex splitting if a population is missing.
  • Error where pattern and pattern_sd were missing, but actually provided

v0.5.0 (Sex-split)

17 Jun 23:56
Compare
Choose a tag to compare

Changelog

[0.5.0] - 2024-06-17

Added

  • Sex splitting API, it requires data, ratio pattern, population. It assumes the ratio is female/male (requires draw mean and standard error).
  • Propagating Zeros, there is now an optional argument to the end of the split function in AgeSplitter, propagate_zeros=False which can now be switched to True if there are 0s that you’d like to keep. WARNING This changes standard error of the estimate to be 0 as well. Short reason: we assume a binomial distribution that is strictly positive. Please take this warning seriously as it will crash other modeling processes at IHME (sd == 0).

Changes

  • Restructured files, which will change import call in python but should not impact R users.
  • Age-splitting API now has “Age” appended to the front of the config files for clarity/ consistency (DataConfig -> AgeDataConfig).
  • Error messages. Thanks to the feedback from the users we have changed the error messaging to be more succinct.

Bug-fix

  • If a study had an age range fully contained within a single age group pattern it would error with “pattern not found”. This is now rectified and the study should be passed through. Keep in mind that the pre-split and post-split values will be the same.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

20 May 22:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

Refactored, added pattern uncertainty

30 Aug 23:15
add32f6
Compare
Choose a tag to compare

Refactored the code to be more of a functional style
Added pattern uncertainty propagation
Generally runs faster, draws are not too slow anymore

v0.2.0

07 Mar 19:26
Compare
Choose a tag to compare

What's Changed

  • Changed location_id to demographic_id by @AHsu98 in #21
  • Updated init.py by @AHsu98 in #18
  • Custom fit for simple model by @AHsu98 in #20
  • Added rate functionality in high level api by @AHsu98 in #24
  • updated to use getter and setter by @AHsu98 in #23
  • Reformate demographic_id and refactor disaggregate.py by @AHsu98 in #25

Full Changelog: v0.1.0...v0.2.0

Initial Release

06 Feb 18:10
b456126
Compare
Choose a tag to compare

First release to pypi!