13.11.2012 Views

Introduction to Categorical Data Analysis

Introduction to Categorical Data Analysis

Introduction to Categorical Data Analysis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

206 LOGLINEAR MODELS FOR CONTINGENCY TABLES<br />

of response in column 1 equal exp(α) = exp(λY 1 − λY 2 ). In model (7.1), differences<br />

between two parameters for a given variable relate <strong>to</strong> the log odds of making one<br />

response, relative <strong>to</strong> another, on that variable.<br />

For the independence model, one of {λX i } is redundant, and one of {λY j } is redundant.<br />

This is analogous <strong>to</strong>ANOVA and multiple regression models with fac<strong>to</strong>rs, which<br />

require one fewer indica<strong>to</strong>r variable than the number of fac<strong>to</strong>r levels. Most software<br />

sets the parameter for the last category equal <strong>to</strong> 0. Another approach lets the parameters<br />

for each fac<strong>to</strong>r sum <strong>to</strong> 0. The choice of constraints is arbitrary. What is unique<br />

is the difference between two main effect parameters of a particular type. As just<br />

noted, that is what determines odds and odds ratios.<br />

For example, in the 2000 General Social Survey, subjects were asked whether<br />

they believed in life after death. The number who answered “yes” was 1339 of the<br />

1639 whites, 260 of the 315 blacks and 88 of the 110 classified as “other” on race.<br />

Table 7.1 shows results of fitting the independence loglinear model <strong>to</strong> the 3 × 2 table.<br />

The model fits well. For the constraints used, λY 1 = 1.50 and λY 2 = 0. Therefore, the<br />

estimated odds of belief in life after death was exp(1.50) = 4.5 for each race.<br />

Table 7.1. Results of Fitting Independence Loglinear Model <strong>to</strong><br />

Cross-Classification of Race by Belief in Life after Death<br />

Criteria For Assessing Goodness Of Fit<br />

Criterion DF Value<br />

Deviance 2 0.3565<br />

Pearson Chi-Square 2 0.3601<br />

Parameter DF Estimate<br />

Standard<br />

Error<br />

Intercept 1 3.0003 0.1061<br />

race white 1 2.7014 0.0985<br />

race black 1 1.0521 0.1107<br />

race other 0 0.0000 0.0000<br />

belief yes 1 1.4985 0.0570<br />

belief no 0 0.0000 0.0000<br />

7.1.3 Saturated Model for Two-Way Tables<br />

Variables that are statistically dependent rather than independent satisfy the more<br />

complex loglinear model,<br />

log μij = λ + λ X i + λY j<br />

+ λXY<br />

ij<br />

(7.2)<br />

The {λXY ij } parameters are association terms that reflect deviations from independence.<br />

The parameters represent interactions between X and Y , whereby the effect of one<br />

variable on the expected cell count depends on the level of the other variable. The<br />

independence model (7.1) is the special case in which all λXY ij = 0.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!