table, where the 2-category variable
is to be thought of as dependent.
for each row:
That is, there is a direct relationship between the loglinear parameters and logit parameters.
and
lower order interactions between the independent variables, and
for every term in the logistic model formula, an interaction
between in and the dependent variable. If Y is the
dependent variable, and A, B and C are
independent, with an interaction B*C the loglinear model
will have the following design:
Y + A + B + C + A*B + A*C + B*C + A*B*C <-- Nuisance terms + Y*A + Y*B + Y*C + Y*B*C <-- Model termsAll the initial terms collapse into the intercept or constant term, and all the interactions with Y are interpreted as the effect of that variable on Y.
![]() |
| ||||||||