Open mmcleod89 opened 1 year ago
STI Code:
Rate STI = 0.05 (this should probably go in a data file)
Rate persistance of STI = 0.2
Initial STI chances at the beginning of simultion = rate_sti * number of STPs (short term partners)
This needs to initialise AFTER sex behaviour has initialised
Place this in the sex behaviour init after new partners have been initialised
Update for someone without an STI: BEFORE num partners update (i.e. last timestep's partners: rate_sti * num STPs
Update for someone with an STI: probability of still having STI = rate_persist_STI * num STPs
Undetectable Viral Load:
Probability of Viral Load Group for STP
Transmission rate
fold_tr
: transmission factor, sampled at the beginning of the simulation %sample_uniform(fold_tr, 1/1.5 1 1.5);risk_nip
is the probability of transmission from infected short term partnersStarting from * probability of infection from infected new partner;
in SAS code:
SAS code assumed all STPs for a given person have the same age group. For now, HIVpy allows each of these STPs to have their own age group. This will have an impact on their VL group probabilities etc.
@mmcleod89 Hi Michael I would like you to introduce any enhancements that you suggest and which we agree on. That means we might expect model results to differ from our SAS version, but I think that is a price worth paying for enhancing the model.
Currently there is some (simplified & heavily dummied) transmission code
viral load groups for partners are just randomised currently; they should be calculated from the population statistically
We need to include considerations for:
[ ] Primary infection (first three months)
[ ] Undetectable
[ ] STIs
Updating tests
Add resistance tranmission: the model here should be confirmed with the HIV group based on our probability discussions earlier.
Useful info:
risk_nippnp
means "risk of new infected partner per new partner" i.e. the risk that any given new partner is infected.