The function computes the Raftery diagnostics for each parameter in the same way as tfr.raftery.diag
of the bayesTFR package.
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, ...)
A bayesLife.mcmc
or bayesLife.mcmc.set
object.
Directory with the MCMC simulation results. Only used if mcmc
is NULL
.
Burnin.
Name or code of a country. If it is given, only country-specific parameters parameters of that country are considered.
Names of country-independent parameters for which the Raftery diagnostics should be computed. By default all parameters are used.
Names of country-specific parameters for which the Raftery diagnostics should be computed. By default all parameters are used.
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
.
Logical switching log messages on and off.
Additional arguments passed to the e0.coda.list.mcmc
function.
Hana Sevcikova, Adrian Raftery
See tfr.raftery.diag
for details. This function is called from e0.diagnose
.
tfr.raftery.diag
, raftery.diag
, e0.diagnose