ref.plot: Trace Plots for Parameters in ICAR Model
Description
This function creates trace plots for the parameters in
the ICAR reference prior model keefe2018ref.ICAR.
Usage
ref.plot(MCMCchain, X, burnin, num.reg)
Value
Trace plots for the fixed effect regression coefficients, the precision parameter,
and the unstructured random effects variance.
Arguments
- MCMCchain
Matrix of MCMC chains for the model parameters.
- X
Matrix of covariates.
- burnin
Number of MCMC iterations from MCMCchain discarded as burn-in.
- num.reg
Number of regions in the areal data set.
Author
Erica M. Porter, Matthew J. Keefe, Christopher T. Franck, and Marco A.R. Ferreira
Examples
Run this code## Refer to the vignette attached to the package.
Run the code above in your browser using DataLab