getpolicy {amei}R Documentation

Extract The Optimal Static Vaccination Policy

Description

Extracts the optimal static vaccination policy from an "optvac"-class object

Usage

getpolicy(obj, which = c("best", "worst"))

Arguments

obj and "optvac"-class object
which optionally, by supplying which = "worst" the worst static vaccination policy can be extracted

Details

This function is designed to work with the output of the optvac function, and to provide inputs to the MCepi function. It searches the cost grid defined by vacgrid for the lowest (or highest) cost, and returns this information

Value

The output is a data.frame with scalar entries

row the row of vacgrid$stops from the "optvac"-class object corresponding to the lowest (or highest) cost
col the row of vacgrid$fracs from the "optvac"-class object corresponding to the lowest (or highest) cost
frac the actual optimal fraction to vaccinate from the vacgrid table
stop the actual optimal (stopping) threshold from the vacgrid table
cost the cost associated with the optimal static vaccination strategy

Author(s)

Daniel Merl <dan@stat.duke.edu>, Leah R. Johnson <leah@statslab.cam.ac.uk>, Robert B. Gramacy <bobby@statslab.cam.ac.uk>, and Mark S. Mangel <msmangl@ams.ucsc.edu>

References

A statistical framework for the adaptive management of epidemiological interventions (2008). Daniel Merl, Leah R. Johnson, Robert B. Gramacy, and Marc S. Mangel. Duke Working Paper 08-29. http://ftp.stat.duke.edu/WorkingPapers/08-29.html

See Also

optvac, plot.optvac, MCepi

Examples

## for an example of the usage of this function,
## please see the documentation for optvac as
## referenced in the See Also section, above

[Package amei version 1.0 Index]