BUGS on the Web
There are an increasing number of sites that feature BUGS or
WinBUGS examples. Here are the ones we know of, some of which are taken from the
more succinct links page. Please let us know of any
other sites you're aware of, as we would like to keep expanding this page.
Please also remember to thank the authors of these sites for generously sharing
their hard-won expertise.
See the remote-running page
for how to call WinBUGS from other software.
(Our thanks to David Madigan for many of these)
- Archive of the BUGS discussion list are searchable, containing several years worth of questions and answers about modelling with BUGS and WinBUGS.
Congdon's book Bayesian Statistical Modelling, now in its new
second edition, uses WinBUGS in a very wide series of examples. Peter now has a second volume, Applied Bayesian Modelling,
and a third book Bayesian Models for Categorical Data. It is possible to download the programs and data used in the books.
- Many of the methods used in the book Bayesian Survival Analysis, by Joseph Ibrahim, Ming-Hui Chen, and Debajyoti Sinha are implemented using BUGS and WinBUGS14; the book's website contains examples of code and data.
- Working Group "Bayes Methods" (formerly DEBUG) of the Biometric Society, German Region, offers an online search of relevant articles, book chapters, books and programs.
- Gillian Raab's site for lymphocyte assay paper materials contains a draft paper and WinBUGS code for fitting mixture models.
- Ioannis Ntzoufras has made available (in English) the MCMC tutorial of the 17th International Workshop on Statistical Modelling.
- Ioannis has also made available his paper on Gibbs Variable Selection Using BUGS which contains worked examples of model choice
- Andrew Lawson, Bill Browne and Carmen Vidal Rodeiro have written Disease mapping with WinBUGS and MLwiN, for which a number of WinBUGS datasets and programs are available.
- George G. Woodworth has written Biostatistics: A Bayesian Introduction.
Hoboken, N.J.: John Wiley & Sons, 2004 with extensive use of WinBugs examples and a 28-page Appendix, "Introduction to WinBUGS", and a
web site with examples, data etc..
- Broemeling, L. D. (2007) Bayesian Biostatistics and Diagnostic Medicine, CRC Press
- Lawson, A. B. (2008) Bayesian Disease Mapping: hierarchical modeling in spatial epidemiology, CRC press, New York
- There is now a webpage for Ioannis Ntzoufras' "Bayesian Modeling Using WinBUGS" book; please click here to be taken to the site.
- Forthcoming: Lunn, D., Jackson, C., Best, N., Thomas, A. and Spiegelhalter, D. (2012) The BUGS Book: A Practical Introduction to Bayesian Analysis, Chapman and Hall.
- Social science: Simon Jackman's MCMC Resource
for Social Scientists features a wide range of models concerned with
ordered outcomes, missing data, random coefficients, generalized link
functions, latent autoregressive structure and so on. WinBUGS code and
Splus data files are provided, as well as tutorial papers on MCMC for
- Pharmacokinetics: David Lunn's PKBugs Page contains details of an `add-on' to WinBUGS for
pharmacokinetic modelling, developed by David Lunn at Imperial
College. This can be run using WinBUGS 1.3.
- Actuarial science: Actuarial Modelling
with MCMC and BUGS
has been provided by David Scollnik in Calgary, and has a range of worked examples designed for an actuarial context but using models
of much wider applicability. An excellent tutorial paper on WinBUGS can
also be downloaded - better than the WinBUGS documentation!
- Population genetics: Kent Holsinger's
Population Genetics course has a whole set of examples using WinBUGS for
estimating inbreeding coefficients, selfing rates, analysing variability
selection and so on. Kent also has a set of notes and WinBUGS code from the Summer
Institute for Statistical Genetics at NC State, which form an introduction to using WinBUGS in population genetics.
- Cost-effectiveness analysis: Tony O'Hagan's Research Page contains
draft papers and WinBUGS code for running Bayesian cost-effectiveness analysis.
- Programs for analysing imperfect diagnostic tests: The Epidemiologic Diagnostics group at UC Davis provide WinBUGS code and examples for analyzing data derived from imperfect diagnostic tests.
- Complex epidemiological modelling: Tom Smith
at the Swiss Tropical Institute has models and documentation for 1) A latent class model for non-parametric resolution of a two component mixture, with a training set available for one component: 2) Two-state Hidden Markov Model with covariates 3) A non-linear regression model with Poisson errors in both x and y.
Brad Carlin's software page also has a variety of examples for longitudinal and spatial models
- Archeology: Andrew Millard's
`WinBUGS and Bayesian tools for Archaeology' site shows how to use
WinBUGS to analyse many Bayesian examples
from the archeological literature.
Our own remote running page lists software that enables WinBUGS and OpenBUGS to be called from other programs.
Below we list some other BUGS utilities which users have written.
Individuals discussing relevant research on their websites:
- Jeff Gill, Department of Political Science, UC-Davis
- The BUGS logo, in various formats (all full colour); EPS, PRN, JPG, PPT
© 1996-2012 BUGS
Hosted by the MRC Biostatistics Unit, Cambridge, UK
Site designed by Alastair Stevens