LLM-generated pages with certain obvious signs of being machine generated may be deleted without notice.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
|
| BUGS | |
|---|---|
| Paradigm | Declarative, probabilistic programming |
| Designed by | David Spiegelhalter, Andrew Thomas, Nicky Best, Wally Gilks |
| Developer | MRC Biostatistics Unit, University of Cambridge |
| First appeared | 1989 |
| Influenced by | |
| Gibbs sampling, Bayesian inference | |
| Influenced | |
| JAGS, Stan, NIMBLE, Turing | |
BUGS (Bayesian inference Using Gibbs Sampling) is a declarative programming language and associated software framework for specifying and fitting complex Bayesian statistical models via Markov chain Monte Carlo (MCMC) methods. Conceived in 1989 at the MRC Biostatistics Unit, University of Cambridge, BUGS has been influential for over 30 years in enabling routine use of Bayesian methods across many scientific disciplines.
The BUGS language allows users to specify graphical models in a declarative style: the user describes the probabilistic structure of a model and the software automatically selects appropriate MCMC algorithms — primarily Gibbs sampling — to estimate the posterior distribution of model parameters.
The language is built around two core concepts:
The BUGS project began in 1989 at the MRC Biostatistics Unit in Cambridge, UK.[1]. The first implementation, ClassicBUGS, was described by Spiegelhalter et al. in 1996 [2]. Development subsequently produced WinBUGS, released in 1997 [3], which introduced a graphical interface including a "Doodle Editor" for constructing models visually. OpenBUGS, an open-source implementation, followed in 2005. The most recent major implementation, MultiBUGS, adds support for parallel computation [4] The BUGS language and its use for statistical modelling is described in detail in a dedicated textbook.[5]
The original implementation of the BUGS language, available for Unix systems. Described by Spiegelhalter et al. (1996).
Released in 1997 by the BUGS Project — a team of British researchers at the MRC Biostatistics Unit, Cambridge, and Imperial College School of Medicine, London — WinBUGS was the first widely adopted implementation. It introduced graphical model specification via "Doodles" and ran under Microsoft Windows. The final version, 1.4.3, was released in August 2007 and is no longer under active development.
OpenBUGS is the open-source successor to WinBUGS, initially released in 2005 and developed by the OpenBUGS Foundation. It runs on Windows, Linux, and macOS (via Wine), and is licensed under the GNU General Public License. The stable release is version 3.2.3 (2014); it is no longer actively developed.
MultiBUGS extends the OpenBUGS codebase with support for parallel computation, enabling faster Bayesian inference on modern multi-core hardware. It automatically parallelises the MCMC algorithm without requiring users to write parallel code. It is hosted on GitHub and described in Goudie et al. (2020).[4]
BUGS model specifications are written in a declarative style. Stochastic relationships are expressed using the ~ symbol (indicating a probability distribution), while deterministic relationships use <-. A simple example:
model {
# Likelihood
for (i in 1:N) {
y[i] ~ dnorm(mu, tau)
}
# Priors
mu ~ dnorm(0, 0.001)
tau ~ dgamma(0.001, 0.001)
sigma <- 1 / sqrt(tau)
}
Several R packages provide interfaces to BUGS implementations:
The BUGS project has been highly influential in enabling the routine use of Bayesian methods across many scientific disciplines..[6] The core implementations (WinBUGS and OpenBUGS) are no longer actively developed, though they remain available and are still used in teaching and legacy research workflows.
The declarative modelling approach pioneered by BUGS has been widely adopted by successor probabilistic programming frameworks. The BUGS language itself continues to be supported through JAGS, which accepts BUGS-syntax model specifications and is actively maintained as a cross-platform alternative [7]. Other actively developed successors include:
Category:Bayesian statistics Category:Statistical software Category:Domain-specific programming languages
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
LLM-generated pages with certain obvious signs of being machine generated may be deleted without notice.
Instead, only summarize in your own words a range of independent, reliable, published sources that discuss the subject.
See the advice page on large language models for more information.