The null hypothesis to be tested is,
H0: The tax opinion is independent from the income level
against the alternative,
H1: The tax opinion is not independent from the income level
The expected counts in the 6 possible combinations are derived from the formula,
Eij=nri×cj where ri is the total for row i, cj is the total for column j, n=1000 is the sample size for i=1,2 and j=1,2,3
The expected counts are,
E11=1000r1×c1=1000598×351=209.898
E21=1000r2×c1=1000402×351=141.102
E12=1000r1×c2=1000598×313=187.174
E22=1000r2×c2=1000402×313=125.826
E13=1000r1×c3=1000598×336=200.928
E23=1000r2×c3=1000402×336=135.072
The test statistic is given as,
χc2=∑∑Eij(Oij−Eij)2
Therefore,
χc2=209.898(213−209.898)2+200.928(182−200.928)2+187.174(203−187.174)2+135.072(154−135.072)2+141.102(138−141.102)2+125.826(110−125.826)2=7.87821
The χ0.05,22=5.99 as given above and the null hypothesis is rejected if χc2>χ0.05,22.
Since χc2=7.87821>χ0.05,22=5.99, we reject the null hypothesis and conclude that there is no sufficient evidence to show that the opinion of people on new tax bill is independent from their income level at 5% level of significance.
Comments