Crandore Hub

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

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling source/ R- gbeta_0.1.0.tar.gz 9.7 KiB
0.1.0 rolling linux/jammy R-4.5 gbeta_0.1.0.tar.gz 86.9 KiB
0.1.0 latest source/ R- gbeta_0.1.0.tar.gz 9.7 KiB
0.1.0 latest linux/jammy R-4.5 gbeta_0.1.0.tar.gz 86.9 KiB
0.1.0 2026-04-23 source/ R- gbeta_0.1.0.tar.gz 9.7 KiB
0.1.0 2026-04-09 windows/windows R-4.5 gbeta_0.1.0.zip 409.9 KiB
0.1.0 2025-04-20 source/ R- gbeta_0.1.0.tar.gz 9.7 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests