2025 update -- Spectrum ART adjustment and allocation #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The first update in here adds new Spectrum feature for ART adjustment by absolute count. The second two are small fixes to align EPP-ASM simulation with Spectrum (small impact).
Also addresses backward compatibility issue with previously saved .shiny90 zip that resulted in error in Naomi tests (@r-ash ).
first90 1.7.1
Implement Spectrum adult ART adjustment by absolute count. This is a user
input that adjust the number on ART count by an absolute value. It is
intended to be used to account for clients receiving services in or
from another region; typically with subnational Spectrum files.
If both absolute count and ratio adjustments are specified in the same
year, the absolute count is applied first and then ratio is applied.
If ART is specified as a percentage, then adjustments do not have any
influence.
Previously entered ART adjustments were applied or not via a checkbox in
Spectrum. The checkbox has been removed in Spectrum 6.38 beta 18. For
backward compatability with previously simulated Spectrum outputs, if the
checkbox flag exists in the .DP file, it is still used to determine
application of the ratios; if the .DP file does not contain the checkbox
flag, then the ratio is applied.
Patch ART dropout implementation. Spectrum converts input ART dropout percent to an
annual rate using [dropout rate] = -log(1.0 - [input percent]).
Implement Spectrum ART allocation.
There has been a longstanding discrepancy betweeen EPP-ASM and Spectrum in ART allocation.
For ART allocation by 'expected mortality', EPP-ASM allocated according to mortality by CD4
and age.
Spectrum allocates ART in a two step process: first, ART is allocated by CD4 category based
on the 'expected mortality' and 'proportional to eligibility' weight. Second, within
CD4 categories, ART is allocated by age solely proportional to number in each age
group (propotional to eligibility).
This has modest overall difference, but was a source of numerical differences between
Spectrum and EPP-ASM.