10.3. Loglinear Models for a Four-Way Table

Now let’s look at a much more complicated table, the 2 × 2 × 4 × 4 table that we previously analyzed by way of a logit model in Section 4.5. Our main goal will be to duplicate the results of the logit model with a loglinear model. To refresh your memory, the sample consisted of 4,991 high school seniors in Wisconsin. The dependent variable was whether or not they planned to attend college in the following year. The three independent variables were coded as follows:

IQ1=low, 2=lower middle, 3=upper middle, 4=high
SES1=low, 2=lower middle, 3=upper middle, 4=high
PARENT1=low parental encouragement, 2=high encouragement.

The data, shown in Section 4.5, was read in as 32 records, each record containing a ...

Get Logistic Regression Using SAS®: Theory and Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.