Description
Simple Dengue Test and Vaccinate Cost Thresholds.
Description
Provides the mathematical model described by "Serostatus Testing & Dengue Vaccine Cost-Benefit Thresholds" in <doi:10.1098/rsif.2019.0234>. Using the functions in the package, that analysis can be repeated using sample life histories, either synthesized from local seroprevalence data using other functions in this package (as in the manuscript) or from some other source. The package provides a vignette which walks through the analysis in the publication, as well as a function to generate a project skeleton for such an analysis.
README.md
Project Template
The denvax::build.project(...)
function creates a skeleton project your analysis.
The Makefile
provides the relationships between the various single step scripts, and a way to run them as a workflow. Alternatively, they can be run manually from the command line or in an application like Rstudio.
The simple.R
script demonstrates a simple start-to-finish analysis (using the Morrison 2010 data included in the package).
In either approach, the steps are:
- develop fit(s) for local serological data (e.g., use the
fit.R
script in Rstudio, write your own script with thedenvax::serofit
function, or use make with the target%-fit.json
in Makefile). - use a fit to synthesize a population (e.g.,
synthesize.R
script, thedenvax::synthetic.pop
function, or the target%-lh.rds
in Makefile) - use the synthetic population to estimate the lifetime outcome probabilities (e.g.,
digest.R
script, thedenvax::npxa
function, or the target%-npxa.rds
in Makefile) - combine the probabilities with the desired boundaries for interventions (initial testing age and maximum number of tests) and to compute the ROI equation coefficients (
denvax::ROIcoeffs
function) - finally, combine the coefficients with desired cost fraction ranges (i.e., the cost of vaccination and testing as fractions of the estimated burden of secondary infection, or $\nu$ and $\tau$ respectively), to determine the threshold region for positive ROI (
denvax::ROI
function).
The pub/
folder includes all the scripts necessary to generate the figures associated with the original publication of the analysis.