diag_mcmc_list_sim_model: MCMC List For Diagnostic Evaluation

Description Usage Arguments Details

Description

diag.mcmc.list method for objects of class sim.model.

Usage

1
2
3
## S3 method for class 'sim.model'
diag.mcmc.list(model, utility.fun, data,
n.iter, n.burn.in, n.adapt = 1000, n.chains = 1, inits = NULL)

Arguments

model

Simulation model object of class sim.model created using
sim.model or create.normal.model.

utility.fun

An R function defining the utility for the decision problem. It must be possible to extract the argument names of the function supplied with formals, and the argument names must constitute a subset of the names used in the JAGS model specification.

data

A named list of R objects which, when combined with the named objects in model$data, leads to a complete specification of the data for the JAGS model.

n.iter

The number of iterations in the JAGS MCMC simulation.

n.burn.in

The number of burn in iterations prior to the JAGS MCMC simulation.

n.adapt

The number of adaptation iterations prior to the burn in phase and subsequent JAGS MCMC simulation.

n.chains

The number of parallel MCMC chains to run.

inits

The initial values for the chain(s) passed on to the function rjags::jags.model, unless equal to its default value NULL, in which case JAGS chooses default initial values.

Details

See diag.mcmc.list for further documentation.


bdpopt documentation built on May 2, 2019, 9:18 a.m.