10.2. A Loglinear Model for a 2 × 2 Table

Let’s start with the 2 × 2 table we analyzed in Chapter 4 (reproduced here as Table 10.1), which shows sentence by race for 147 death penalty cases. How can we represent this by a loglinear model?

Table 10.1. Death Sentence by Race of Defendant
 BlacksNonblacksTotal
Death282250
Life455297
Total7374147

Let’s consider the table in more general form as

m11m12
m21m22

where mij is the expected number of cases falling into row i and column j. What I mean by this is that if n is the sample size and pij is the probability of falling into cell (i, j), then mij=npij.

There are a couple of different but equivalent ways of writing a loglinear model for these four frequency counts. The way I’m going to do it is consistent ...

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.