The Inverse Gaussian Distribution

Usage

dinvgauss(y, m, s)
pinvgauss(q, m, s)
hinvgauss(y m, s)

Arguments

y vector of responses.
q vector of quantiles.
m vector of means.
s vector of dispersion parameters.

Description

These functions provide information about the inverse Gaussian distribution with mean equal to m and dispersion equal to s. dinvgauss gives the density, pinvgauss gives the distribution function, hinvgauss gives the hazard function.

The inverse Gaussian distribution has density

f(y) = 1/sqrt(2 pi s y^3) e^-((y - m)^2/(2 y s^2 m^2))

where m is the mean of the distribution and s is the dispersion.

Author(s)

J.K. Lindsey

See Also

dnorm for the normal distribution and dlnorm for the Lognormal distribution.

Examples

dinvgauss(5, 5, 1)
pinvgauss(5, 5, 1)


[Package Contents]