pogitThis function provides traceplots, autocorrelation plots and density plots
of the MCMC samples for an object of class "pogit" to graphically assess
convergence of the MCMC simulations. It also displays the (model averaged)
posterior means and 95%-HPD intervals for the regression effects.
# S3 method for pogit
plot(x, type = "traceplot", burnin = TRUE,
thin = TRUE, lag.max = NULL, ci = TRUE, maxPlots = NULL, ...)an object of class pogit
type of plot: "traceplot" (default) for traceplots of the
MCMC draws, "acf" for autocorrelation plots of the MCMC draws,
"density" for density plots and "hpd" to display
(model averaged) posterior means with 95%-HPD intervals for the regression
effects.
logical. If TRUE (default), burn-in draws (as specified
in x) are discarded.
logical. If TRUE (default), thinning (as specified in
x) is considered for diagnostic MCMC plots.
maximum lag for autocorrelation plot; if NULL (default),
the default of acf is used.
logical. If TRUE (default), the confidence interval in the
autocorrelation plot is shown (see acf for details).
maximum number of plots on a single page; if NULL (default),
the number of plots dispayed on a single page is specified according to the
used model.
further arguments (not used)
# NOT RUN {
## see examples for pogitBvs, logitBvs, poissonBvs and negbinBvs
# }
Run the code above in your browser using DataLab