Just another Gibbs sampler

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
JAGS
Original author(s) Martyn Plummer
Initial release December 11, 2007 (2007-12-11)
Stable release 4.1.0 / January 16, 2016 (2016-01-16)
Development status Active
Written in C++
Operating system Unix-like, Microsoft Windows, Mac OS X
Platform Intel x86 - 32-bit, x64
Size 1.7 MB
Type Statistical package
License GNU General Public License
Website mcmc-jags.sourceforge.net

Just another Gibbs sampler (JAGS) is a program for simulation from Bayesian hierarchical models using Markov chain Monte Carlo (MCMC), developed by Martyn Plummer. JAGS has been employed for statistical work in many fields, for example ecology, management, and genetics.[1][2][3]

JAGS aims for compatibility with WinBUGS/OpenBUGS through the use of a dialect of the same modeling language (informally, BUGS), but it provides no GUI for model building and MCMC sample postprocessing, which must therefore be treated in a separate program (for example calling JAGS from R through a library such as rjags and post-processing MCMC output in R).[4]

The main advantage of JAGS in comparison to the members of the original BUGS family (WinBUGS and OpenBUGS) is its platform independence. It is written in C++, while the BUGS family is written in Component Pascal, a less widely known programming language.[5][6] In addition, JAGS is already part of many repositories of Linux distributions such as Ubuntu. It can also be compiled as a 64-bit application on 64-bit platforms, thus making all the addressable space available to BUGS models.

JAGS can be used via the command line or run in batch mode through script files. This means that there is no need to redo the settings with every run and that the program can be called and controlled from within another program (e.g. from R via rjags as outlined above).

JAGS is licensed under the GNU General Public License.

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Martyn Plummer (2003). JAGS: A Program for Analysis of Bayesian Graphical Models Using Gibbs Sampling, Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), March 20–22, Vienna, Austria. ISSN 1609-395X.
  5. David Lunn, David Spiegelhalter, Andrew Thomas and Nicky Best (2009). The BUGS project: Evolution, critique and future directions, Statistics in Medicine 28 (25), 3049–3067. doi:10.1002/sim.3680 PMID 19630097.
  6. Simon Jackman (2009). Bayesian Analysis for the Social Sciences. Wiley Series in Probability and Statistics, volume 845. John Wiley and Sons. ISBN 978-0-470-01154-6.

External links