Generalized Beta and Beta Prime Distributions
Overview
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.
First release.
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE10 OK, 4 NOTE2026-04-22
- ERROR9 OK, 4 NOTE, 1 ERROR2026-04-18
- NOTE10 OK, 4 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 62%
- Return-value docs
- 0%
- Help pages citing references
- 100%
Downloads
Repository
Stars over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/stla/gbeta on 2026-10-21.
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.0Latest2020-11-19 · current release
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-19
- Total releases
- 1 / 6 yrs
- License
- GPL (>= 2) OSI
- Download size
- 9.7 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gbeta")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.