plot.bayesm.mat
is an S3 method to plot arrays of MCMC draws. The columns in the
array correspond to parameters and the rows to MCMC draws.## S3 method for class 'bayesm.mat':
plot(x,names,burnin,tvalues,TRACEPLOT,DEN,INT,CHECK_NDRAWS, ...)
plot.bayesm.mat
will be invoked by a call to the generic plot function as in
plot(object)
where object is of class bayesm.mat. All of the bayesm
MCMC routines
return draws in this class (see example below). One can also simply invoke
plot.bayesm.mat
on any valid 2-dim array as in plot.bayesm.mat(betadraws)
.
plot.bayesm.mat
paints (by default) on the histogram:
green "[]" delimiting 95% Bayesian Credibility Interval
yellow "()" showing +/- 2 numerical standard errors
red "|" showing posterior mean
plot.bayesm.mat
is also exported for use as a standard function, as in
plot.bayesm.mat(matrix)
##
## not run
# out=runiregGibbs(Data,Prior,Mcmc)
# plot(out$betadraw)
#
Run the code above in your browser using DataLab