Open jeffeaton opened 8 months ago
Uploading PJNZ files and R script used to create the above examples for safe keeping.
This is addressed in: f74c14e73
Re-running the checks above with this commit gives the following comparison plots:
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.
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”.
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:
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.