Home
Home  >>  Archives  >>  Volume 6 Number 4  >>  st0115

The Stata Journal
Volume 6 Number 4: pp. 530-549



Subscribe to the Stata Journal
cover

Bayesian analysis in Stata with WinBUGS

John Thompson
Department of Health Sciences
University of Leicester
Leicester, UK
john.thompson@le.ac.uk
Tom Palmer
Department of Health Sciences
University of Leicester
Leicester, UK
Santiago Moreno
Department of Health Sciences
University of Leicester
Leicester, UK
Abstract.   WinBUGS is a program for Bayesian model fitting by Gibbs sampling. WinBUGS has limited facilities for data handling, whereas Stata has no routines for Bayesian analysis; therefore, much can be gained by running Stata and WinBUGS together. We present a set of ado-files that enable data to be processed in Stata and then passed to WinBUGS for model fitting; finally, the results are read back into Stata for further processing.
Terms of use     View this article (PDF)

View all articles by these authors: John Thompson, Tom Palmer, Santiago Moreno

View all articles with these keywords: wbarray, wbdata, wbscalar, wbstructure, wbvector, wbrun, wbscript, wbcoda, wbac, wbbgr, wbgeweke, wbintervals, wbsection, wbtrace, wbstats, wbdensity, wbdic, wbbull, wbdecode, Bayesian methods, MCMC, Gibbs sampling, WinBUGS

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS

Contact StataCorp

Contact service@stata-journal.com if you have questions about the Stata Journal.

© Copyright 2001–2014 StataCorp LP.   Terms of use.   Privacy policy.