and so our expected counts under independence, would the
probability of that specific cell, 19 over 91 times 12 over 91.
Which we can multiply these, because we made
the assumption of independence under the null hypothesis.
Now we multiply that times the potential, the number 91, the total
number of couples, to get 2.51, we're going to compare that to 7.
When you do that throughout and you get the
expected counts are this formula right here.
If you, if you like, the, the, the row total times the column total,
then divide it by n instead of n squared, because you multiply by n.
so that e-ij is the cell you copy for every cell, but the logic is clear
as to where that formula comes from. And the degrees of freedom, are again rows
minus 1 times columns minus 1.
And I'm going to to let you again now, I'm going to do even less, and
I'm going to let you calculate the statistic
and compare it to the Chi-Squared distribution.