Estimation of the parameters of a reciprocal inverse Gaussian distribution.
rigff(lmu = "identitylink", llambda = "loglink", imu = NULL, ilambda = 1)
Link functions for mu
and lambda
.
See Links
for more choices.
Initial values for mu
and lambda
.
A NULL
means a value is computed internally.
An object of class "vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.
See Jorgensen (1997) for details.
Jorgensen, B. (1997). The Theory of Dispersion Models. London: Chapman & Hall
# NOT RUN {
rdata <- data.frame(y = rchisq(n = 100, df = 14)) # Not 'proper' data!!
fit <- vglm(y ~ 1, rigff, data = rdata, trace = TRUE)
fit <- vglm(y ~ 1, rigff, data = rdata, trace = TRUE, eps = 1e-9, crit = "coef")
summary(fit)
# }
Run the code above in your browser using DataLab