Diagnostics: Plots and Summaries of RunMh Output

Description Usage Arguments Examples

Description

Taking in a mhOut object, this function outputs graphs and summaries to evaluate the performance of an MCMC run on a simplex. In particular, the acceptance rate is outputted for each dimension along with a trace plot. For type 'dirichlet', qqplots of the theoretical versus empirical marginal distributions are also provided for each dimension.

Usage

1
Diagnostics(mhOut)

Arguments

mhOut

Object outputted by the function RunMH which summarizes a Metropolis Hasting run on a simplex

Examples

1
2
3
4
#Dirichlet run and diagnostic plots
dir <- RunMh(center = c(0.7, 0.2, 0.1), B = 2e3, concentration = 10,
                        h = c(2, 2, 2), type = 'dirichlet', dat = NULL)
Diagnostics(mhOut = dir)

SALTSampler documentation built on May 2, 2019, 11:27 a.m.