Generalized Inverse Gaussian {rmutil} | R Documentation |
Generalized Inverse Gaussian Distribution
Description
These functions provide information about the generalized inverse
Gaussian distribution with mean equal to m
, dispersion equal to
s
, and family parameter equal to f
: density,
cumulative distribution, quantiles, log hazard, and random generation.
The generalized inverse Gaussian distribution has density
where is the mean of the distribution,
the dispersion,
is the family
parameter, and
is the fractional Bessel function of
the third kind.
yields an inverse Gaussian distribution,
,
a gamma
distribution, and
a hyperbola distribution.
Usage
dginvgauss(y, m, s, f, log=FALSE)
pginvgauss(q, m, s, f)
qginvgauss(p, m, s, f)
rginvgauss(n, m, s, f)
Arguments
y |
vector of responses. |
q |
vector of quantiles. |
p |
vector of probabilities |
n |
number of values to generate |
m |
vector of means. |
s |
vector of dispersion parameters. |
f |
vector of family parameters. |
log |
if TRUE, log probabilities are supplied. |
Author(s)
J.K. Lindsey
See Also
dinvgauss
for the inverse Gaussian distribution.
Examples
dginvgauss(10, 3, 1, 1)
pginvgauss(10, 3, 1, 1)
qginvgauss(0.4, 3, 1, 1)
rginvgauss(10, 3, 1, 1)