Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute district scaling factors #1553

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tdm32
Copy link
Collaborator

@tdm32 tdm32 commented Dec 12, 2024

With demography module argument "equal_allocation_by_district" we need to also compute the scaling factors by district. This PR calculates those district-level scaling factors and writes them to the demography logger and to tlo.methods.population logger.

Notes:

  • if equal_allocation_by_district=False, the district-level scaling factors are not logged
  • the bed days scaled capacity and capabilities_coefficient uses the original scaling factor and doesn't scale by district

Next steps:

  • need to update extract_results function to use the district_level scaling factors where appropriate
  • also calculations of deaths and DALYs need to be scaled by district

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant