Package: gbeta 0.1.0

Stéphane Laurent

gbeta: Generalized Beta and Beta Prime Distributions

Density, distribution function, quantile function, and random generation for the generalized Beta and Beta prime distributions. The family of generalized Beta distributions is conjugate for the Bayesian binomial model, and the generalized Beta prime distribution is the posterior distribution of the relative risk in the Bayesian 'two Poisson samples' model when a Gamma prior is assigned to the Poisson rate of the reference group and a Beta prime prior is assigned to the relative risk. References: Laurent (2012) <doi:10.1214/11-BJPS139>, Hamza & Vallois (2016) <doi:10.1016/j.spl.2016.03.014>, Chen & Novick (1984) <doi:10.3102/10769986009002163>.

Authors:Stéphane Laurent

gbeta_0.1.0.tar.gz
gbeta_0.1.0.zip(r-4.5)gbeta_0.1.0.zip(r-4.4)gbeta_0.1.0.zip(r-4.3)
gbeta_0.1.0.tgz(r-4.4-x86_64)gbeta_0.1.0.tgz(r-4.4-arm64)gbeta_0.1.0.tgz(r-4.3-x86_64)gbeta_0.1.0.tgz(r-4.3-arm64)
gbeta_0.1.0.tar.gz(r-4.5-noble)gbeta_0.1.0.tar.gz(r-4.4-noble)
gbeta_0.1.0.tgz(r-4.4-emscripten)gbeta_0.1.0.tgz(r-4.3-emscripten)
gbeta.pdf |gbeta.html
gbeta/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/stla/gbeta/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

statistical-distributionscpp

4.00 score 2 stars 5 scripts 158 downloads 8 exports 5 dependencies

Last updated 4 years agofrom:09ebe27faa. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 14 2025
R-4.5-win-x86_64OKJan 14 2025
R-4.5-linux-x86_64OKJan 14 2025
R-4.4-win-x86_64OKJan 14 2025
R-4.4-mac-x86_64OKJan 14 2025
R-4.4-mac-aarch64OKJan 14 2025
R-4.3-win-x86_64OKJan 14 2025
R-4.3-mac-x86_64OKJan 14 2025
R-4.3-mac-aarch64OKJan 14 2025

Exports:dgbetadgbetappgbetapgbetapqgbetaqgbetaprgbetargbetap

Dependencies:gslRcppRcppEigenRcppNumericalRunuran

Bayesian applications

Rendered frombayesian-applications.Rmdusingknitr::rmarkdownon Jan 14 2025.

Last update: 2020-11-12
Started: 2020-11-12

Readme and manuals

Help Manual

Help pageTopics
Generalized Beta distributiondgbeta GBeta pgbeta qgbeta rgbeta
Generalized Beta prime distributiondgbetap GBetaP pgbetap qgbetap rgbetap