|
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.
Contents
(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.
- Peter
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: Spiegelhalter, D., Best, N., Lunn, D. and Thomas, A. (2009) Bayesian Analysis using the BUGS language: A Practical Introduction, 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
social scientists.
- 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.
I wrote a program to convert .txt data and generate WinBUGS codes for simple models for my research.
Some WinBUGS user may want to use it. To see an example, go here http://www.psychstat.org/us/article.php/52.htm.
Also, can be found at http://www.psychstat.org/us/article.php/62.htm.
Cheers,
- Zhiyong Zhang's BAUW program converts text data into WinBUGS format: Zhiyong also
has provided a
complete SAS script for a Monte Carlo simulation study.
- Brian Smith's Bayesian Output Analysis program can be used instead of CODA for analysing output
from Classic BUGS or WinBUGS.
- SAS Macros for converting between BUGS and WinBUGS input and output files and SAS datasets have been written by Matt Hayat and Rodney Sparapani - with some recent updates by Rodney
- A paper describing SAS Macros to convert SAS data to WinBUGS data by Zhiyong Zhang
- Running WinBUGS on Linux using Wine by Martyn Plummer.
- R-CODA - a version of CODA for R (which is free), also by Martyn Plummer. This is also now available as a standard R package from CRAN
- Gene Hahn's
BUS program is a Windows application that assists in exporting the results of a
BUGS or WinBUGS run to other software packages such as
Mathematica or Excel.
- Terry Elrod's R/S functions for writing R/S data in files suitable for WinBUGS.
- Sanjog Misra's Excel 2 Bugs add-in for writing Excel data in Bugs format.
- ESS (Emacs Speaks Statistics) is an intelligent interface for writing BUGS code using the Emacs or XEmacs editors. ESS knows the syntax and grammar of BUGS and provides consistent display and editing features automatically. It is also available at Statlib.
- Jouko Lampinen and Aki Vehtari's Matlab functions for writing Matlab data in WinBUGS format, and formatting CODA output for Matlab.
- Phil Woodward has developed BugsXLA v3.0.1, an Excel Add-in GUI for WinBUGS. No knowledge of WinBUGS required!
- Mary Kynn's Elicitor Program is an interactive, graphical elicitation package for the logistic
regression model, available as stand-alone software or as a WinBUGS add-in.
- Our own remote running page, listing software that uses the new scripting facility in WinBUGS1.4 for a range of purposes.
- Yue Cui has written some instructions on importing map files from ArcView which are useful for spatial modelling.
- WinBUGS and OpenBUGS can now be run from GenStat (Edition 10 onwards) using the command BGXGENSTAT. More information is available from http://www.vsni.co.uk/products/genstat/htmlhelp/winbugs/WinBUGS.htm.
- Wayne Thogmartin and colleagues have developed an extension for ArcGIS that helps users of WinBUGS develop the adjacency matrices they need for their CAR spatial models.
- Patrick Bélisle has created a series of WinBUGS related macros, including Perl programs that automatically write and run WinBUGS scripts, and create nice summary output from the program's run. There is also a macro to convert multi-dimensional SAS data sets to WinBUGS format.
Individuals discussing relevant research on their websites:
- Jeff Gill, Department of Political Science, UC-Davis
Others:
- The BUGS logo, in various formats (all full colour); EPS, PRN, JPG, PPT
© 1996-2008 BUGS
Hosted by the MRC Biostatistics Unit, Cambridge, UK
Site designed by Alastair Stevens
|