dinvgauss(y, m, s) pinvgauss(q, m, s) hinvgauss(y m, s)
y
| vector of responses. |
q
| vector of quantiles. |
m
| vector of means. |
s
| vector of dispersion parameters. |
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.dnorm for the normal distribution and
dlnorm for the Lognormal distribution.dinvgauss(5, 5, 1) pinvgauss(5, 5, 1)