mixinvgauss: Finite mixture of inverse Gaussian Distribution

Finite mixture of inverse Gaussian DistributionsR Documentation

Finite mixture of inverse Gaussian Distribution

Description

Density (PDF), distribution function (CDF), and hazard function for Finite mixture of inverse Gaussian Distributions.

Usage

dmixinvgauss(x, theta = .2, lambda = .1, gamma = .05, forceExpectation = F)
pmixinvgauss(q, theta = .2, lambda = .1, gamma = .05, forceExpectation = F)
mixinvgaussHazard(x, theta = .2, lambda = .1, gamma = .05, forceExpectation = F)

Arguments

x, q

vector of quantiles.

theta, lambda, gamma

parameters, see 'Details'.

forceExpectation

logical; if TRUE, the expectation of the distribution is forced to be 1..

Details

The finite mixture of inverse Gaussian distributions was used by Gomes-Deniz and Perez-Rodrigues (2013) for ACD-models. Its PDF is:

f(x) = \frac{\gamma + x}{\gamma + \theta} \sqrt{\frac{\lambda}{2 \pi x^3}} \exp \left[ - \frac{\lambda(x-\theta)^2}{2 x \theta^2}\right].

If forceExpectation = TRUE the distribution is transformed by dividing the random variable with its expectation and using the change of variable function.

References

Gomez-Deniz, E. and Perez-Rodriguez, J.V. (2016) Mixture Inverse Gaussian for Unobserved Heterogeneity in the Autoregressive Conditional Duration Model. Communications in Statistics - Theory and Methods, http://dx.doi.org/10.1080/03610926.2016.1200094


ACDm documentation built on Aug. 8, 2025, 7:44 p.m.