# Chi square Test

• Jan 17th 2011, 08:09 PM
roshanhero
Chi square Test
The Distribution of digits in numbers chosen at random from the telephone directory are:
Digit 0 1 2 3 4 5 6 7 8 9
Frequency 1026 1107 997 966 1075 933 1107 972 964 853
Test whether the digits may be taken to occur equally frequently in the directory
My problem is which test to chose and why? Though I think that I should use Chi-square test, I still can't confidently say why? If it is chi-square test, then I don't know how to calculate expected frequency, Is there any specific formula to calculate it?
• Jan 17th 2011, 09:08 PM
pickslides
I would use a $\displaystyle \chi^2$ test.

With

$\displaystyle
H_0: \text{The observed frequencies are consistent the expected frequencies}$

$\displaystyle
H_A: \text{The observed frequencies are not consistent the expected frequencies}$

Reject $\displaystyle H_0:$ if $\displaystyle \sum \frac{(0-E)^2}{E}>\chi^2_{\alpha , df}$
• Jan 17th 2011, 09:14 PM
pickslides
Quote:

Originally Posted by roshanhero
If it is chi-square test, then I don't know how to calculate expected frequency, Is there any specific formula to calculate it?

For expected frequencies to occur evenly.

Sum these guys

Quote:

Originally Posted by roshanhero
Frequency 1026 1107 997 966 1075 933 1107 972 964 853

And divide the result by 10. Allocate this new figure for each digit.