updateIndiv {InSilicoVA}R 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, Journal of the American Statistical Association (2016), 111(515):1036-1049.

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)

[Package InSilicoVA version 1.4.0 Index]