BUGS (Bayesian inference Using Gibbs Sampling) is a piece of computer software for the Bayesian analysis of complex statistical models using Markov chain Monte Carlo (MCMC) methods. It has been developing and rapidly growing in popularity for a number of years, and is probably best known in its WinBUGS incarnations.