updateIndiv: Update individual COD probabilities from InSilicoVA Model...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/get_indiv.r

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

InSilicoVA documentation built on Aug. 2, 2021, 5:08 p.m.