This function produces diagnostic plots for the Markov chains used to simulate from the posterior distributions for the model parameters. If the chains have converged on the posterior distributions, the trace plots should look like "fat hairy caterpillars" and their cumulative means should converge rapidly. Moreover, the autocorrelation functions should converge quickly to zero.
# S3 method for evmSim
plot(
x,
which.plots = 1:3,
chain = 1,
density.adjust = 2,
print.seed = FALSE,
...
)
an object of class evmSim
Which plots to produce. Option 1 gives kernel density estimates, 2 gives traces of the Markov chains with superimposed cumulative means, 3 gives autocorrelation functions.
Which chain to use in the trace and ACF plots. Only used if
more than one chain was run. Defaults to chain = 1
. If you ran
multiple chains, you'll want to look at them all.
In plot
method for class
evmSim
. Passed into density
. Controls the amount
of smoothing of the kernel density estimate.
Whether or not to print the seed used in the simulations, or to annotate the plots with it.
ignored
evm