e0.raftery.diag {bayesLife}R Documentation

Raftery Diagnostics for Parameters of the Life Expectancy

Description

The function computes the Raftery diagnostics for each parameter in the same way as tfr.raftery.diag of the bayesTFR package.

Usage

e0.raftery.diag(mcmc = NULL, sim.dir = file.path(getwd(), "bayesLife.output"), 
    burnin = 0, country = NULL, par.names = NULL, par.names.cs = NULL,
    country.sampling.prop = 1, verbose = TRUE, ...)

Arguments

mcmc

A bayesLife.mcmc or bayesLife.mcmc.set object.

sim.dir

Directory with the MCMC simulation results. Only used if mcmc is NULL.

burnin

Burnin.

country

Name or code of a country. If it is given, only country-specific parameters parameters of that country are considered.

par.names

Names of country-independent parameters for which the Raftery diagnostics should be computed. By default all parameters are used.

par.names.cs

Names of country-specific parameters for which the Raftery diagnostics should be computed. By default all parameters are used.

country.sampling.prop

Proportion of countries that are included in the diagnostics. It should be between 0 and 1. If it is smaller than 1, the countries are randomly sampled. It is only relevant if par.names.cs is not NULL.

verbose

Logical switching log messages on and off.

...

Additional arguments passed to the e0.coda.list.mcmc function.

Details

See tfr.raftery.diag for details. This function is called from e0.diagnose.

Author(s)

Hana Sevcikova, Adrian Raftery

See Also

tfr.raftery.diag, raftery.diag, e0.diagnose


[Package bayesLife version 5.2-0 Index]