00:01
For the given data, the contingency table can be written as for gender and their sport preference, let us represent basketball as b and football as f and soccer as s and the road total.
00:18
Now for men, the values are 20, 25, 30 and 75.
00:26
And for women, the values are 18, 14, 13 and 45.
00:34
And the column totals are 38, 39, 43 and 120.
00:42
And the significance level of alpha is given as 0 .05 to test the null hypothesis, h0 is such that the gender and sports.
00:56
Preference are independent and the alternative hypothesis h .a.
01:07
Is such that the gender and the sports preference are not independent.
01:21
Now the expected value for the first cell which is for men and basketball, the expected value is calculated as the respective row total 75 into the respective column total 38 divided by the grand total 120.
01:40
Now some simplifying this would give 23 .75.
01:45
Similarly for all the cells, the expected values are given below.
01:50
The expected values eij for gender, basketball, football and soccer.
02:00
For men, the expected values are 23 .75, 24 .38, 26 .28...