acat(link = "loge", parallel = FALSE, reverse = FALSE,
zero = NULL, whitespace = FALSE)
Links
for more choices.reverse
is TRUE
then
$\eta_j = \log(P[Y=j]/P[Y=j+1])$
will be used.CommonVGAMffArguments
for information."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
cumulative
,
cratio
,
sratio
,
multinomial
,
pneumo
.pneumo <- transform(pneumo, let = log(exposure.time))
(fit <- vglm(cbind(normal, mild, severe) ~ let, acat, data = pneumo))
coef(fit, matrix = TRUE)
constraints(fit)
model.matrix(fit)
Run the code above in your browser using DataLab