
cratio(link = "logit", earg = list(),
parallel = FALSE, reverse = FALSE, zero = NULL)
Links
for more choices.earg
in Links
for general information.reverse
is TRUE
, then
$\eta_j = logit(P[Y"vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
rrvglm
and vgam
.ordered
.sratio
).
Stopping 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.
Documentation accompanying the
sratio
,
acat
,
cumulative
,
multinomial
,
pneumo
,
logit
,
probit
,
cloglog
,
cauchit
.data(pneumo)
pneumo = transform(pneumo, let=log(exposure.time))
(fit = vglm(cbind(normal,mild,severe) ~ let, cratio(parallel=TRUE), pneumo))
coef(fit, matrix=TRUE)
constraints(fit)
predict(fit)
predict(fit, untransform=TRUE)
Run the code above in your browser using DataLab