mrc-ide / leapfrog

Multistate population projection model for demographic estimation.
Other
2 stars 5 forks source link

discrepancy in ART allocation by expected mortality #53

Open jeffeaton opened 8 months ago

jeffeaton commented 8 months ago

There is a difference between Spectrum and Leapfrog implementations for ART allocation "proportional to expected mortality” allocation. This is also a likely difference in EPP-ASM, however, slightly different and not interrogated previously because ART allocation in EPP-ASM is only by coarse age groups.

The image below shows an example of the ART allocation by age for women in the first year of ART scale-up (2000) in a test file with allocation set to fully “proportional to eligibility” and “proportional to expected mortality”.

image

Three observations:

Contrived file: To explore further, I varied the relative mortality rates by age groups to see how that affected the ART allocation. I contrived an extreme file with near 0 mortality in 25+ age groups. I expected nearly all of the ART allocation in age group 15-24.

Features of the file:

image image

In the Leapfrog simulation, essentially all ART is allocated to age group 15-24 (image below; what I expected). But the Spectrum pattern for ART by age looks very different, and unsure reasons why.

image

jeffeaton commented 8 months ago

Uploading PJNZ files and R script used to create the above examples for safe keeping.

artinit-mx-elig-example_2024-01-03.zip

jeffeaton commented 1 month ago

This is addressed in: f74c14e73

Re-running the checks above with this commit gives the following comparison plots:

image

image

There may still be a difference with Spectrum calculating ART eligibility weights only once at the start of the year vs. Leapfrog / EPP-ASM at every time step.