Last chance! 50% off unlimited learning
Sale ends in
morgenstern(lapar="rhobit", earg=list(), iapar=NULL, tola0=0.01,
method.init=1)
Links
for more choices.earg
in Links
for general information.method.init
.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
ymat = cbind(rexp(n), rexp(n))
plot(ymat)
fit = vglm(ymat ~ 1, fam=morgenstern, trace=TRUE)
fit = vglm(ymat ~ 1, fam=morgenstern, trace=TRUE, crit="coef")
coef(fit, matrix=TRUE)
Coef(fit)
fitted(fit)[1:5,]
Run the code above in your browser using DataLab