John Thompson (),
Tom Palmer and
Santiago Moreno Additional contact information John Thompson: Department of Health Sciences, University of Leicester
Tom Palmer: Department of Health Sciences, University of Leicester
Santiago Moreno: Department of Health Sciences, University of Leicester
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.