In: Statistics and Probability
null hypothesis: Ho: f there is no difference between men and women in terms of guilty/non guilty pleas
Alternate hypothesis:Ha: there is a significant difference between men and women in terms of guilty/non guilty pleas
2) contingency table:
Oi | male | female | Total |
Guilty pleas | 15 | 5 | 20 |
not Guilty pleas | 10 | 20 | 30 |
total | 25 | 25 | 50 |
3)
Applying chi square test:
Expected | Ei=row total*column total/grand total | male | female | Total |
Guilty pleas | 10.00 | 10.00 | 20 | |
not Guilty pleas | 15.00 | 15.00 | 30 | |
total | 25 | 25 | 50 | |
chi square χ2 | =(Oi-Ei)2/Ei | male | female | Total |
Guilty pleas | 2.5000 | 2.5000 | 5.000 | |
not Guilty pleas | 1.6667 | 1.6667 | 3.333 | |
total | 4.167 | 4.167 | 8.333 |
test statistic X2 =8.333
degree of freedom(df) =(rows-1)*(columns-1)= | 1 |
for 1 df and 0.05 level of signifcance critical region χ2= | 3.841 |
as test statistic is in critical region reject null hypothesis
we have suffiicent evidence to conclude that men are entering significantly more guilty pleas then women