Provides functions for the Bayesian analysis of some simple commonly-used models, without using Markov Chain Monte Carlo (MCMC) methods such as Gibbs sampling. The 'rust' package <https://cran.r-project.org/package=rust> is used to simulate a random sample from the required posterior distribution, using the generalized ratio-of-uniforms method. See Wakefield, Gelfand and Smith (1991) <DOI:10.1007/BF01889987> for details. At the moment three conjugate hierarchical models are available: beta-binomial, gamma-Poisson and a 1-way analysis of variance (ANOVA).
Package details |
|
---|---|
Author | Paul J. Northrop [aut, cre, cph], Benjamin D. Hall [aut, cph] |
Maintainer | Paul J. Northrop <p.northrop@ucl.ac.uk> |
License | GPL (>= 2) |
Version | 1.0.4 |
URL | https://paulnorthrop.github.io/bang/ https://github.com/paulnorthrop/bang |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.