A number is to be selected from the interval by a random hypothesis (concerning the multinomial pdf with k = 4) 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, 3, 4, are respectively, 30, 30, 10, 10, would H0 be accepted at the (approximate) 5% level of significance? Use R code similar to that of Example 4.7.2 for the computation.
Example 4.7.2