13.11.2012 Views

Introduction to Categorical Data Analysis

Introduction to Categorical Data Analysis

Introduction to Categorical Data Analysis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROBLEMS 269<br />

b. Find the McNemar z 2 statistic for Table A and the CMH statistic (4.9) for<br />

Table B. Compare.<br />

c. For Table B, show that the CMH statistic does not change if you delete pairs<br />

from the data set in which both the case and the control had the same diet.<br />

d. This sample size is <strong>to</strong>o small for these large-sample tests. Find the exact P -<br />

value for testing marginal homogeneity against the alternative hypothesis<br />

of a higher incidence of colon cancer for the “high” red meat diet. (See<br />

Problem 8.5.)<br />

8.11 For the subject-specific model (8.4) for matched pairs,<br />

logit[P(Yi1 = 1)] =αi + β, logit[P(Yi2 = 1)] =αi<br />

the estimated variance for the conditional ML estimate ˆβ = log(n12/n21) of β<br />

is (1/n12 + 1/n21). Find a 95% confidence interval for the odds ratio exp(β)<br />

for Table 8.1 on helping the environment. Interpret.<br />

8.12 For Table 7.3 on the student survey, viewing the table as matched triplets, you<br />

can compare the proportion of “yes” responses among alcohol, cigarettes, and<br />

marijuana.<br />

a. Construct the marginal distribution for each substance, and find the three<br />

sample proportions of “yes” responses.<br />

b. Explain how you could represent the data with a three-way contingency<br />

table in order <strong>to</strong> use a generalized CMH procedure (see Section 6.4.2) <strong>to</strong><br />

test marginal homogeneity.<br />

8.13 Table 8.12, from the 2004 General Social Survey, reports subjects’ religious<br />

affiliation in 2004 and at age 16, for categories (1) Protestant, (2) Catholic,<br />

(3) Jewish, (4) None or Other.<br />

Table 8.12. <strong>Data</strong> for Problem 8.13<br />

Affiliation<br />

Religious Affiliation Now<br />

at Age 16 1 2 3 4<br />

1 1228 39 2 158<br />

2 100 649 1 107<br />

3 1 0 54 9<br />

4 73 12 4 137<br />

Source: 2004 General Social Survey.<br />

a. The symmetry model has deviance G 2 = 150.6 with df = 6. Use residuals<br />

for the model [see equation (8.9)] <strong>to</strong> analyze transition patterns between<br />

pairs of religions.

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

Saved successfully!

Ooh no, something went wrong!