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

Package details

AuthorStéphane Laurent
MaintainerStéphane Laurent <laurent_step@outlook.fr>
LicenseGPL (>= 2)
Version0.1.0
URL https://github.com/stla/gbeta
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gbeta")

Try the gbeta package in your browser

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

gbeta documentation built on Nov. 19, 2020, 9:07 a.m.