GIBDist {brr} | R Documentation |
Density and random generation for the Gamma-Inverse Beta distribution
with shape parameters a
, alpha
, beta
and rate parameter rho
.
dGIB(x, a, alpha, beta, rho)
rGIB(n, a, alpha, beta, rho)
summary_GIB(a, alpha, beta, rho, output = "list", ...)
x |
vector of quantiles |
a |
non-negative shape parameter of the Gamma distribution |
alpha , beta |
non-negative shape parameters of the mixing Beta distribution |
rho |
rate parameter |
n |
number of observations to be simulated |
output |
type of the |
... |
arguments passed to |
This is the mixture distribution obtained by sampling a value b
from a Beta distribution
with shape parameters \beta
, \alpha
and then sampling a Gamma distribution with shape a
and rate \rho/b
.
dGIB
gives the density, rGIB
samples from the distribution,
and summary_GIB
returns a summary of the distribution.
GIBDist
is a generic name for the functions documented.
curve(dGIB(x, 3, 4, 2, 2.5), from=0, to=3)
summary_GIB(3, 4, 2, 2.5, output="pandoc", style="grid")