Package: bang 1.0.4

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).

Authors:Paul J. Northrop [aut, cre, cph], Benjamin D. Hall [aut, cph]

bang_1.0.4.tar.gz
bang_1.0.4.zip(r-4.5)bang_1.0.4.zip(r-4.4)bang_1.0.4.zip(r-4.3)
bang_1.0.4.tgz(r-4.4-any)bang_1.0.4.tgz(r-4.3-any)
bang_1.0.4.tar.gz(r-4.5-noble)bang_1.0.4.tar.gz(r-4.4-noble)
bang_1.0.4.tgz(r-4.4-emscripten)bang_1.0.4.tgz(r-4.3-emscripten)
bang.pdf |bang.html
bang/json (API)
NEWS

# Install 'bang' in R:
install.packages('bang', repos = c('https://paulnorthrop.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/paulnorthrop/bang/issues

Datasets:
  • coagulation - Coagulation time data
  • pump - Pump-failure data
  • rat - Rat tumor data
  • temp1 - Mid 21st Century Global Temperature Projection Data
  • temp2 - Late 21st Century Global Temperature Projection Data
  • weight_gain - Weight Gained by Rats

On CRAN:

anovabayesianbetabinomialgammagibbshierarchicalpoisson

5.62 score 3 stars 35 scripts 881 downloads 7 exports 48 dependencies

Last updated 4 months agofrom:24aaa5f0c2. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:hanova1hefpp_checkset_user_priorsim_pred_beta_binomsim_pred_gamma_poissim_pred_hanova1

Dependencies:abindbackportsbayesplotcheckmateclicolorspacedistributionaldplyrfansifarvergenericsggplot2ggridgesgluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgconfigplyrposteriorR6RColorBrewerRcppRcppArmadilloreshape2rlangrustscalesstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr

Conjugate Hierarchical Models

Rendered frombang-b-hef-vignette.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2020-02-24
Started: 2020-02-21

Hierarchical 1-way Analysis of Variance

Rendered frombang-c-anova-vignette.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2020-02-24
Started: 2020-02-21

Introducing bang: Bayesian Analysis, No Gibbs

Rendered frombang-a-vignette.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2020-02-24
Started: 2020-02-21

Posterior Predictive Checking

Rendered frombang-d-ppc-vignette.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2020-02-24
Started: 2020-02-21