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

Albrja/mic 5766/neonatal cause of death #26

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

albrja
Copy link
Collaborator

@albrja albrja commented Jan 17, 2025

Albrja/mic 5766/neonatal cause of death

Determine cause of death for neonates in the model.

Changes and notes

-determine cause of death for children in simulation

Verification and Testing

-ran simulation and saw expected outcomes for cause of death

# Calculate proportional cause of death for each neonatal cause
for cause, pipeline in neonatal_cause_dict.items():
choices[cause] = pipeline / all_causes_death_rate
choices["other_causes"] = 1 - choices.sum(axis=1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can use "residual" for this.

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

Successfully merging this pull request may close these issues.

2 participants