Last data update: 2014.03.03

R: Update individual COD probabilities from InSilicoVA Model...
updateIndivR Documentation

Update individual COD probabilities from InSilicoVA Model Fits

Description

This function updates individual probabilities for each death and provide posterior credible intervals for each estimates.

Usage

updateIndiv(object, CI = 0.95, java_option = "-Xmx1g", ...)

Arguments

object

Fitted "insilico" object.

CI

Credible interval for posterior estimates.

java_option

Option to initialize java JVM. Default to “-Xmx1g”, which sets the maximum heap size to be 1GB.

...

Not used.

Value

object Updated "insilico" object.

Author(s)

Zehang Li, Tyler McCormick, Sam Clark

Maintainer: Zehang Li <lizehang@uw.edu>

References

Tyler H. McCormick, Zehang R. Li, Clara Calvert, Amelia C. Crampin, Kathleen Kahn and Samuel J. Clark Probabilistic cause-of-death assignment using verbal autopsies, arXiv preprint arXiv:1411.3042 http://arxiv.org/abs/1411.3042 (2014)

See Also

insilico, get.indiv

Examples

## Not run: 
data(RandomVA1)
fit1a<- insilico(RandomVA1, subpop = NULL,
                Nsim = 1000, burnin = 500, thin = 10 , seed = 1,
                auto.length = FALSE)
summary(fit1a, id = "d199")

# The following script updates credible interval for individual
fit1b <- updateIndiv(fit1a, CI = 0.95)
summary(fit1b, id = "d199")

## End(Not run)

Results