Inverse Gaussian {rmutil}R Documentation

Inverse Gaussian Distribution


These functions provide information about the inverse Gaussian distribution with mean equal to m and dispersion equal to s: density, cumulative distribution, quantiles, log hazard, and random generation.

The inverse Gaussian distribution has density

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

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


dinvgauss(y, m, s, log=FALSE)
pinvgauss(q, m, s)
qinvgauss(p, m, s)
hinvgauss(y, m, s)
rinvgauss(n, m, s)


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.
log if TRUE, log probabilities are supplied.


J.K. Lindsey

See Also

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


dinvgauss(5, 5, 1)
pinvgauss(5, 5, 1)
qinvgauss(0.8, 5, 1)
rinvgauss(10, 5, 1)

[Package rmutil version 1.0 Index]