rigff: Reciprocal Inverse Gaussian distribution

View source: R/family.univariate.R

rigffR Documentation

Reciprocal Inverse Gaussian distribution

Description

Estimation of the parameters of a reciprocal inverse Gaussian distribution.

Usage

rigff(lmu = "identitylink", llambda = "loglink", imu = NULL,
      ilambda = 1)

Arguments

lmu, llambda

Link functions for mu and lambda. See Links for more choices.

imu, ilambda

Initial values for mu and lambda. A NULL means a value is computed internally.

Details

See Jorgensen (1997) for details.

Value

An object of class "vglmff" (see vglmff-class). The object is used by modelling functions such as vglm, and vgam.

Note

This distribution is potentially useful for dispersion modelling.

Author(s)

T. W. Yee

References

Jorgensen, B. (1997). The Theory of Dispersion Models. London: Chapman & Hall

See Also

simplex.

Examples

rdata <- data.frame(y = rchisq(100, df = 14))  # Not 'proper' data!!
fit <- vglm(y ~ 1, rigff, rdata, trace = TRUE)
fit <- vglm(y ~ 1, rigff, rdata, trace = TRUE, crit = "c")
summary(fit)

VGAM documentation built on Sept. 18, 2024, 9:09 a.m.