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.

318 RANDOM EFFECTS: GENERALIZED LINEAR MIXED MODELS<br />

simpler model falls on the boundary of the parameter space for the more complex<br />

model. When this happens, the usual likelihood-ratio chi-squared test for comparing<br />

models is not valid. Likewise, a Wald statistic such as ˆσ/SE does not have an approximate<br />

standard normal null distribution. (When σ = 0, because ˆσ 0 for a model containing a single random effect term. The<br />

null distribution has probability 1/2at0and1/2 following the shape of a chi-squared<br />

distribution with df = 1. The test statistic value of 0 occurs when ˆσ = 0, in which<br />

case the maximum of the likelihood function is identical under H0 and Ha. When<br />

ˆσ >0 and the observed test statistic equals t, the P -value for this test is half the<br />

right-tail probability above t for a chi-squared distribution with df = 1.<br />

For the basketball free-throw shooting example, the random effect has ˆσ = 0.42,<br />

with SE = 0.39. The likelihood-ratio test statistic comparing this model <strong>to</strong> the simpler<br />

model that assumes the same probability of success for each player equals 0.42. As<br />

usual, this equals double the difference between the maximized log likelihood values.<br />

The P -value is half the right-tail probability above 0.42 for a chi-squared distribution<br />

with df = 1, which is 0.26. It is plausible that all players have the same chance of<br />

success. However, the sample size was small, which is why an implausibly simplistic<br />

model seems adequate.<br />

PROBLEMS<br />

10.1 Refer back <strong>to</strong> Table 8.10 from a recent General Social Survey that asked<br />

subjects whether they believe in heaven and whether they believe in hell.<br />

a. Fit model (10.3). If your software uses numerical integration, report ˆβ, ˆσ ,<br />

and their standard errors for 2, 10, 100, 400, and 1000 quadrature points.<br />

Comment on convergence.<br />

b. Interpret ˆβ.<br />

c. Compare ˆβ and its SE for this approach <strong>to</strong> their values for the conditional<br />

ML approach of Section 8.2.3.<br />

10.2 You plan <strong>to</strong> apply the matched-pairs model (10.3) <strong>to</strong> a data set for which yi1 is<br />

whether the subject agrees that abortion should be legal if the woman cannot<br />

afford the child (1 = yes, 0 = no), and yi2 is whether the subject opposes<br />

abortion if a woman wants it because she is unmarried (1 = yes, 0 = no).<br />

a. Indicate a way in which this model would probably be inappropriate. (Hint:<br />

Do you think these variables would have a positive, or negative, log odds<br />

ratio?)<br />

b. How could you reword the second question so the model would be more<br />

appropriate?<br />

10.3 A dataset on pregnancy rates among girls in 13 north central Florida counties<br />

has information on the <strong>to</strong>tal in 2005 for each county i on Ti = number of births

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

Saved successfully!

Ooh no, something went wrong!