Define the setsA certain hypothesis assigns probabilities pi0 to these sets Ai in accordance with
This hypothesis (concerning the multinomial pdf with k = 8) is to be tested, at the 5% level of significance, by a chi-square test. If the observed frequencies of the sets Ai, i = 1, 2,…, 8, are, respectively, 60, 96, 140, 210, 172, 160, 88, and 74, would H0 be accepted at the (approximate) 5% level of significance? Use R code similar to that discussed in Example 4.7.2. The probabilities are easily computed in R; for example, p30 = pnorm(2,3,2) − pnorm(1,3,2).
Example 4.7.2