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

Outputs for early epidemic tests #158

Closed
4 tasks done
mmcleod89 opened this issue Nov 14, 2023 · 4 comments
Closed
4 tasks done

Outputs for early epidemic tests #158

mmcleod89 opened this issue Nov 14, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@mmcleod89
Copy link
Collaborator

mmcleod89 commented Nov 14, 2023

Outputs for checking the behaviour of the simulation in the early epidemic (pre-treatment & testing)

See example outputs given by Jenny, but this will mostly focus on things like:

  • Number of people in each age bracket
  • Number of deaths
  • Number of sexual partners w/demographics
  • Number of people with HIV w/demographics
  • Number of births

Won't include things like testing as we're focusing on the early era.

  • Output module should write these outputs for each timestep into an output file.
  • Also want to be able to make graphs. (May be post processing or automatic.)
  • List desired outputs in config file.
  • Python script for creating comparison plots of single runs with SAS data. (Extended by Aggregate output data for SAS vs Python model comparison #171 to allow data aggregation and averages across multiple runs.)
@pineapple-cat
Copy link
Collaborator

pineapple-cat commented Nov 22, 2023

Current list of outputs to include (from 21/11/23 meeting):

  • proportion of people aged 15-64 with a long-term partner (p_ep)
  • proportion of people aged 15-64 with at least one short-term partner (p_newp_ge1)
  • proportion of people aged 15-64 with at least five short-term partners (p_newp_ge5)
  • proportion of women giving birth
  • of women with HIV giving birth, proportion of children infected
  • proportion of circumcised men aged 15-49
  • proportion of female sex workers
  • proportion of female sex workers with HIV
  • proportion of people aged 15-49 with HIV (prevalence)
  • measure of new HIV cases in women and men aged 15-24 (incidence)
  • measure of new HIV cases in people aged 15-49 and 15-64 (incidence)
  • of the infections in a given time-step, proportion of people that have been infected by a long-term partner (p_inf_ep) (relies on Add long term partner infection code  #162)
  • of the infections in a given time-step, proportion of people that have been infected by someone in the primary infection phase (p_inf_primary)
  • number of women and men aged 15+ and 20-59 dead (n_death_2059_w, n_death_2059_m)
  • number of people with CD4 counts <200, 200-500, and >500 (n_cd4_lt200)
  • number of people aged 15+ alive (n_alive)
  • number of people with HIV (n_hiv)
  • number of live births
  • number of births to infected women

Additional outputs for validation:

  • short-term partner gender balance (log_gender_r_newp)
  • short-term partner gender balance divided by age groups (logm15r, logm25r, logm35r, logm45r, logm55r, logw15r, logw25r, logw35r, logw45r, logw55r)
  • of the infections in a given time-step, proportion of people that have been infected by a short-term partner (p_inf_newp)

@mmcleod89
Copy link
Collaborator Author

As an example for the log gender balance variables, I think the calculation is as follows:
for logm15r this is for men with 15 <= age < 25

  • The numerator is: sum of short term partners over all men in this age bracket
  • The denominator is: looking at all sexually active women, add up the short term partners who are men 15-25. (For us this is made a bit more complicated by the fact that each short term partner is allowed to have their own age.)
  • Take the log of this ratio

@UCL/hiv-modelling does this calculation look right to you?

@andrew-phillips-1
Copy link

Hi Michael @mmcleod89 - Thanks - this looks right to me, yes.

@mmcleod89
Copy link
Collaborator Author

Considering #171 as a separate rather than sub-issue going forward

@mmcleod89 mmcleod89 added this to HIVpy May 29, 2024
@mmcleod89 mmcleod89 moved this to Done in HIVpy May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants