25.11.2014 Views

Biostatistics

Create successful ePaper yourself

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

12.5 TESTS OF HOMOGENEITY 631<br />

TABLE 12.5.1 A Contingency Table for Data for a<br />

Chi-Square Test of Homogeneity<br />

Population<br />

Variable Category 1 2 3 Total<br />

A n A1 n A2 n A3 n A:<br />

B n B1 n B2 n B3 n B:<br />

C n C1 n C2 n C3 n C:<br />

Total n.1 n.2 n.3 n<br />

homogeneous, or, equivalently, if the samples are all drawn from the same population, with<br />

respect to the categories A, B, and C, our best estimate of the proportion in the combined<br />

population who belong to category A is n A: =n. By the same token, if the three populations<br />

are homogeneous, we interpret this probability as applying to each of the populations<br />

individually. For example, under the null hypothesis, n A . is our best estimate of the<br />

probability that a subject picked at random from the combined population will belong to<br />

category A. We would expect, then, to find n.1ðn A: =nÞ of those in the sample from population<br />

1 to belong to category A, n.2ðn A: =nÞ of those in the sample from population 2 to belong to<br />

category A, and n.3ðn A: =nÞ of those in the sample from population 3 to belong to category A.<br />

These calculations yield the expected frequencies for the first row of Table 12.5.1. Similar<br />

reasoning and calculations yield the expected frequencies for the other two rows.<br />

We see again that the shortcut procedure of multiplying appropriate marginal totals<br />

and dividing by the grand total yields the expected frequencies for the cells.<br />

From the data in Table 12.5.1 we compute the following test statistic:<br />

" #<br />

X 2 ¼ Xk ðO i E i Þ 2<br />

i¼1<br />

EXAMPLE 12.5.1<br />

Narcolepsy is a disease involving disturbances of the sleep–wake cycle. Members of the<br />

German Migraine and Headache Society (A-8) studied the relationship between migraine<br />

headaches in 96 subjects diagnosed with narcolepsy and 96 healthy controls. The results<br />

are shown in Table 12.5.2. We wish to know if we may conclude, on the basis of these data,<br />

E i<br />

TABLE 12.5.2<br />

Frequency of Migraine Headaches by Narcolepsy Status<br />

Reported Migraine Headaches<br />

Yes No Total<br />

Narcoleptic subjects 21 75 96<br />

Healthy controls 19 77 96<br />

Total 40 152 192<br />

Source: The DMG Study Group, “Migraine and Idiopathic Narcolepsy—A Case-Control Study,”<br />

Cephalagia, 23 (2003), 786–789.

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

Saved successfully!

Ooh no, something went wrong!