EconPapers    
Economics at your fingertips  
 

Performing Bayesian analysis in Stata using WinBUGS

Tom Palmer (), John Thompson and Santiago Moreno
Additional contact information
Tom Palmer: Department of Health Sciences, University of Leicester
John Thompson: Department of Health Sciences, University of Leicester
Santiago Moreno: Department of Health Sciences, University of Leicester

United Kingdom Stata Users' Group Meetings 2007 from Stata Users Group

Abstract: WinBUGS is a program for Bayesian model fitting by Gibbs sampling. WinBUGS has limited facilities for data handling, whereas Stata has excellent data handling but no routines for Bayesian analysis; therefore, much can be gained by running Stata and WinBUGS together. This talk explains the use of the winbugsfromstata package, described in Thompson et al. (2006), a set of programs that enable data to be processed in Stata and then passed to WinBUGS for model fitting. Finally, the results can be read back into Stata for further processing. Examples will be chosen to illustrate the range of models that can be fitted within WinBUGS and where possible the results will be compared with frequentist analyses in Stata. Issues to consider when fitting models under Markov Chain Monte Carlo methods will be discussed including assessment of convergence, length of burn-in and the form and impact of prior distributions. J. Thompson, T. Palmer, and S. Moreno, 2006, Bayesian analysis in Stata with WinBUGS, The Stata Journal, 6(4), p530–549.

Date: 2007-09-14
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2007/winbugsfromstata.presentation.pdf presentation (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:usug07:08

Access Statistics for this paper

More papers in United Kingdom Stata Users' Group Meetings 2007 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:usug07:08