00:02
So here we are given a two -way table with our variables white, african -american total, section a, section b in total, and then our numbers, 82, 202, 80, 402, 80, 40, 120, 120, 162, 60, and 222.
00:26
We're not really interested in the totals, we just want these.
00:28
So our cost squared value is going to be all of our observed minus our expected squared divided by our expected for that particular cell.
00:38
So to get the expected count for white and a, we would do the total number of a 102 times the total number of white 162 divided by our overall total.
00:49
And we would do the same thing for african american a.
00:52
Total number of a times the total number of african american divided by the total overall total.
00:59
And when we do that, i'm actually going to use my calculator to give me these values a little bit easier.
01:14
I'm going to enter in my matrix and then i'm going to store it as matrix abc.
01:21
And then i'm going to run the actual kai squared test.
01:25
So test, kai squared two -way test for abc.
01:34
In our expected matrix.
01:39
This one comes out to be 74 .43.
01:43
This one would come out to be 87 .56.
01:47
This one, 27 .56.
01:50
And then the 40, 32 .324...