In: Statistics and Probability
7. Perform an appropriate hypothesis test to determine if there is a significant relationship between a student’s race and the punishment received for talking back to teachers in a school district. Be sure to list all your steps and interpret your findings in no more than two sentences.
In School Suspension |
Out of School Suspension |
Intermediate Punishment |
|
African-American/Black |
19 |
52 |
9 |
Hispanic/Latino |
14 |
39 |
7 |
White |
9 |
12 |
24 |
Ans:
Chi square test of independence:
Ho:There is no relationship between a student’s race and the punishment received.
H1: There is a relationship between a student’s race and the punishment received.
Observed(fo) | ||||
In school | out of school | Intermediate | Total | |
Black | 19 | 52 | 9 | 80 |
Latino | 14 | 39 | 7 | 60 |
white | 9 | 12 | 24 | 45 |
Total | 42 | 103 | 40 | 185 |
Expected(fe) | ||||
In school | out of school | Intermediate | Total | |
Black | 18.16 | 44.54 | 17.30 | 80 |
Latino | 13.62 | 33.41 | 12.97 | 60 |
white | 10.22 | 25.05 | 9.73 | 45 |
Total | 42 | 103 | 40 | 185 |
Chi square=(fo-fe)^2/fe | ||||
In school | out of school | Intermediate | Total | |
Black | 0.039 | 1.249 | 3.980 | 5.268 |
Latino | 0.011 | 0.937 | 2.750 | 3.698 |
white | 0.145 | 6.802 | 20.930 | 27.876 |
Total | 0.194 | 8.988 | 27.660 | 36.842 |
Test statistic:
Chi square=36.842
df=(3-1)*(3-1)=4
p-value=CHIDIST(36.842,4)=0.000
Reject the null hypothesis and conclude that there is a significant relationship between a student’s race and the punishment received.