
sratio(link = "logit", parallel = FALSE, reverse = FALSE,
zero = NULL, whitespace = FALSE)
Links
for more choices.reverse
is TRUE
, then
$\eta_j = logit(P[Y=j+1|Y \leq 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
.
There are a number of definitions for the continuation ratio
in the literature. To make life easier, in the cratio
)
and stopping ratios.
Continuation ratios deal with quantities such as
logit(P[Y>j|Y>=j])
.
Simonoff, J. S. (2003) Analyzing Categorical Data, New York: Springer-Verlag.
McCullagh, P. and Nelder, J. A. (1989) Generalized Linear Models, 2nd ed. London: Chapman & Hall.
Yee, T. W. (2010)
The
Documentation accompanying the
cratio
,
acat
,
cumulative
,
multinomial
,
pneumo
,
logit
,
probit
,
cloglog
,
cauchit
.pneumo <- transform(pneumo, let = log(exposure.time))
(fit <- vglm(cbind(normal, mild, severe) ~ let,
sratio(parallel = TRUE), data = pneumo))
coef(fit, matrix = TRUE)
constraints(fit)
predict(fit)
predict(fit, untransform = TRUE)
Run the code above in your browser using DataLab