
Last chance! 50% off unlimited learning
Sale ends in
hypersecant(link.theta = "elogit", earg = if(link.theta == "elogit")
list(min = -pi/2, max = pi/2) else list(), init.theta = NULL)
hypersecant.1(link.theta = "elogit", earg = if(link.theta == "elogit")
list(min = -pi/2, max = pi/2) else list(), init.theta = NULL)
Links
for more choices.earg
in Links
for general information."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
. Another parameterization is used for hypersecant.1()
.
This uses
For both parameterizations Newton-Raphson is same as Fisher scoring.
elogit
.hdata = data.frame(x = rnorm(nn <- 200))
hdata = transform(hdata, y = rnorm(nn)) # Not very good data!
fit = vglm(y ~ x, hypersecant, hdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
fit@misc$earg
# Not recommended:
fit = vglm(y ~ x, hypersecant(link = "identity"), hdata, trace = TRUE)
coef(fit, matrix = TRUE)
fit@misc$earg
Run the code above in your browser using DataLab