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

Prenatal and postnatal transmission #509

Merged
merged 10 commits into from
May 23, 2024
Merged

Prenatal and postnatal transmission #509

merged 10 commits into from
May 23, 2024

Conversation

robynstuart
Copy link
Contributor

Description

Separates maternal transmission into prenatal and postnatal modules.

This is necessary because transmission probabilities vary. We could alternatively change the network betas, but this way allows us more flexibility to have disease-dependent differences - e.g. maternal transmission of syphilis only occurs during pregnancy, whereas for HIV it can also happen during breastfeeding.

Checklist

  • Code commented & docstrings added
  • New tests were needed and have been added
  • A new version number was needed & changelog has been updated
  • A new PyPI version needs to be released

@cliffckerr cliffckerr added this to the v0.5.x: Sim API bugfixes milestone May 20, 2024
@cliffckerr cliffckerr merged commit 837bf22 into main May 23, 2024
2 of 3 checks passed
@daniel-klein
Copy link
Contributor

What is the benefit of a separate network layers for prenatal and postnatal if all of the nodes and edges are the same as the current pregnancy network? Instead, wouldn't it be more straightforward for transmission, either via rel_trans of the mother, 'rel_sus' of the baby, or 'beta' for the edge, to vary as a function of the age of the baby? I suspect that transmission likely should vary with age in any case through pre- and post-natal periods.

@daniel-klein
Copy link
Contributor

For the record, @robynstuart, @cliffckerr, and I discussed the following on Slack.

The transmission parameter, beta, associated with each edge applies to all diseases, so cannot be used to differentially transmit one disease and not another. The other two key parameters that control transmissibility are rel_sus and rel_trans, which are individual-level parameters. Therefore, we would not want to modify rel_trans of a mother during the pre-natal period because doing so would alter horizontal transmission. Modifying rel_sus for each baby and for each disease as a function of age would work.

This PR splits the pregnancy network into two: a prenatal network and a postnatal network. This additional resolution can facilitate disease-differential transmission during these periods, but it may still be necessary to modify rel_sus of the baby to e.g. adapt transmission by trimester.

@cliffckerr cliffckerr deleted the add-breastfeeding branch June 18, 2024 13:31
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.

3 participants