| e0.raftery.diag | R Documentation |
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 = NA, par.names.cs = NA,
country.sampling.prop = 1, verbose = TRUE, ...)
mcmc |
A |
sim.dir |
Directory with the MCMC simulation results. Only used if |
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.
If it is |
par.names.cs |
Names of country-specific parameters for which the Raftery diagnostics should be computed. By default all parameters are used. If it is |
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 |
verbose |
Logical switching log messages on and off. |
... |
Additional arguments passed to the |
See tfr.raftery.diag for details. This function is called from e0.diagnose.
Hana Sevcikova, Adrian Raftery
tfr.raftery.diag, raftery.diag, e0.diagnose
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.