bayesplot¶
Save Bayesian MCMC diagnostic plots after a successful bayes: prefix model.
When to use
How do I visually inspect Bayesian chains after fitting an MCMC model?
Syntax¶
bayesplot trace [, saving(<path>) noopen]
bayesplot density [, saving(<path>) noopen]
bayesplot autocorrelation [, saving(<path>) noopen]
Examples¶
bayes: regress wage educ exper` then `bayesplot trace
bayes: regress wage educ exper` then `bayesplot density, saving(figures/posterior.svg)
bayes: logit union age educ` then `bayesplot autocorrelation, noopen