morgenstern(lapar = "rhobit", earg = list(), iapar = NULL, tola0 = 0.01,
imethod = 1)
Links
for more choices
and other information.imethod
.1
or 2
which
specifies the initialization method. If failure to converge occurs
try the other value, or else specify a value for ia
."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.
A variant of Newton-Raphson is used, which only seems to work for an
intercept model.
It is a very good idea to set trace = TRUE
.
fgm
,
gumbelIbiv
.N = 1000; mdata = data.frame(y1 = rexp(N), y2 = rexp(N))
plot(ymat)
fit = vglm(cbind(y1, y2) ~ 1, morgenstern, mdata, trace = TRUE)
# This may fail:
fit = vglm(cbind(y1, y2) ~ 1, morgenstern, mdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)
head(fitted(fit))
Run the code above in your browser using DataLab