bang: Bayesian Analysis, No Gibbs

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

AuthorPaul J. Northrop [aut, cre, cph], Benjamin D. Hall [aut, cph]
MaintainerPaul J. Northrop <p.northrop@ucl.ac.uk>
LicenseGPL (>= 2)
Version1.0.2
URL https://paulnorthrop.github.io/bang/ https://github.com/paulnorthrop/bang
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("bang")

Try the bang package in your browser

Any scripts or data that you put into this service are public.

bang documentation built on Sept. 3, 2023, 1:07 a.m.