In: Statistics and Probability
A program for generating random numbers on a computer is to be tested. The program is instructed to generate 100 single-digit integers between 0 and 9. The frequencies of the observed integers were as follows. At the 0.05 level of significance, is there sufficient reason to believe that the integers are not being generated uniformly?
Integer | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Frequency | 10 | 8 | 7 | 9 | 13 | 11 | 5 | 9 | 14 | 14 |
(a) Find the test statistic. (Round your answer to two
decimal places.)
(b) Find the p-value. (Round your answer to four
decimal places.)