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.

240 LOGLINEAR MODELS FOR CONTINGENCY TABLES<br />

7.14 Table 7.27, from a General Social Survey, relates responses on R = religious<br />

service attendance (1 = at most a few times a year, 2 = at least several times<br />

a year), P = political views (1 = Liberal, 2 = Moderate, 3 = Conservative),<br />

B = birth control availability <strong>to</strong> teenagers between ages of 14 and 16 (1 =<br />

agree, 2 = disagree), S = sexual relations before marriage (1 = wrong only<br />

sometimes or not wrong at all, 2 = always or almost always wrong).<br />

a. Find a loglinear model that fits these data well.<br />

b. Interpret this model by estimating conditional odds ratios for each pair of<br />

variables.<br />

c. Consider the logistic model predicting (S) using the other variables as maineffect<br />

predic<strong>to</strong>rs, without any interaction. Fit the corresponding loglinear<br />

model. Does it fit adequately? Interpret the effects of the predic<strong>to</strong>rs on the<br />

response, and compare <strong>to</strong> results from (b).<br />

d. Draw the independence graph of the loglinear model selected in (a). Remark<br />

on conditional independence patterns. For each pair of variables, indicate<br />

whether the fitted marginal and conditional associations are identical.<br />

Table 7.27. <strong>Data</strong> for Problem 7.14<br />

Premarital Sex<br />

1 2<br />

Religious Attendence 1 2 1 2<br />

Birth Control 1 2 1 2 1 2 1 2<br />

1 99 15 73 25 8 4 24 22<br />

Political views 2 73 20 87 37 20 13 50 60<br />

3 51 19 51 36 6 12 33 88<br />

Source: 1991 General Social Survey.<br />

7.15 Refer <strong>to</strong> Table 7.13 in Section 7.4.5 on the substance use survey, which also<br />

classified students by gender (G) and race (R).<br />

a. Analyze these data using logistic models, treating marijuana use as the<br />

response variable. Select a model.<br />

b. Which loglinear model is equivalent <strong>to</strong> your choice of logistic model?<br />

7.16 For the Maine accident data modeled in Section 7.3.2:<br />

a. Verify that logistic model (7.9) follows from loglinear model (GLS, GI, LI,<br />

IS).<br />

b. Show that the conditional log odds ratio for the effect of S on I equals<br />

βS 1 − βS 2 in the logistic model and λIS<br />

11 + λIS<br />

22 − λIS<br />

12 − λIS<br />

21 in the loglinear<br />

model.

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

Saved successfully!

Ooh no, something went wrong!