Learn R Programming

VGAM (version 0.8-3)

rig: Reciprocal Inverse Gaussian distribution

Description

Estimation of the parameters of a reciprocal inverse Gaussian distribution.

Usage

rig(lmu = "identity", llambda = "loge",
    emu=list(), elambda=list(), 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.
emu, elambda
List. Extra argument for each of the links. See earg in Links for general information.

Value

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

Details

See Jorgensen (1997) for details.

References

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

See Also

simplex.

Examples

Run this code
rdata = data.frame(y = rchisq(n=100, df=14))    # Not 'proper' data!!
fit = vglm(y ~ 1, rig, rdata, trace=TRUE)
fit = vglm(y ~ 1, rig, rdata, trace=TRUE, eps=1e-9, cri="c")
summary(fit)

Run the code above in your browser using DataLab