13.6 Testing k Proportions
We now turn to a special case of Equation (13.14) in that we examine the instance in which we want to test for the significance of the difference among k population proportions pi, i = 1, . . ., k. In this regard, suppose we have k independent random samples and that X1, . . ., Xk comprise a set of independent binomial random variables with the parameters p1 and n1; p2 and n2; . . .; and pk and nk, respectively, where pi, i = 1, . . ., k, is the proportion of successes in the ith population. Here Xi depicts the number of successes obtained in a sample of size ni, i = 1, . . ., k.
Let us arrange the observed number of successes and failures for the k independent random samples in the following k × 2 table (Table 13.8). Here the 2k entries within this table are the observed cell frequencies oij, i = 1, . . ., k; j = 1,2. Our objective is to test H0: p1 = p2 = . . . = pk = po, against H1: pi ≠ po for at least one i = 1, . . ., k, where po is the null value of pi. Under H0, the expected number of successes for sample i is nipo, i = 1, . . . k (since po = Xi/ni); and the expected number of failures for sample i is ni(1 − po), i = 1, . . .,k (since
). In this regard, the expected cell frequencies for columns 1 and 2 are, respectively,
and . So given po, Equation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access