loglinb3(exchangeable = FALSE, zero = NULL)
TRUE
, the three marginal probabilities are constrained to
be equal.NULL
means none."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
rrvglm
and vgam
.
When fitted, the fitted.values
slot of the object contains the
eight joint probabilities, labelled as $(Y_1,Y_2,Y_3)$
= (0,0,0), (0,0,1), (0,1,0), (0,1,1), (1,0,0), (1,0,1), (1,1,0),
(1,1,1), respectively.
The linear/additive predictors are $(\eta_1,\eta_2,\ldots,\eta_6)^T = (u_1,u_2,u_3,u_{12},u_{13},u_{23})^T$.
McCullagh, P. and Nelder, J. A. (1989) Generalized Linear Models, 2nd ed. London: Chapman & Hall.
Documentation accompanying the
loglinb2
,
hunua
.fit <- vglm(cbind(cyadea, beitaw, kniexc) ~ altitude, loglinb3, hunua)
coef(fit, matrix = TRUE)
head(fitted(fit))
summary(fit)
Run the code above in your browser using DataLab