acat(link = "loge", earg = list(),
parallel = FALSE, reverse = FALSE, zero = NULL)
Links
for more choices.CommonVGAMffArguments
for more information.reverse
is TRUE
then
$\eta_j = \log(P[Y=j]/P[Y=j+1])$
will be used."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
rrvglm
and vgam
.ordered
.By default, the log link is used because the ratio of two probabilities is positive.
Simonoff, J. S. (2003) Analyzing Categorical Data, New York: Springer-Verlag.
Yee, T. W. (2010)
The
Documentation accompanying the
cumulative
,
cratio
,
sratio
,
multinomial
,
pneumo
.pneumo <- transform(pneumo, let = log(exposure.time))
(fit <- vglm(cbind(normal,mild,severe) ~ let, acat, pneumo))
coef(fit, matrix = TRUE)
constraints(fit)
model.matrix(fit)
Run the code above in your browser using DataLab