You are on page 1of 18

Chi-chart

Likes chicken Dislikes chicken Sum


Likes fish 60

Dislikes fish 40

sum 75 25 100
Chi-chart

a Construct an expected frequency table. b Interpret the value in the top left corner of the expected
frequency table.
Pass math test Fail maths test Sum
Ans: - In a sample of 100 students, we would expect 30 to be
Male 30 20 50 male and pass the Maths test.
Female 30 20 50
Sum 60 40 100

24 30 -6 36 1.2
26 20 6 36 1.8
36 30 6 36 1.2
14 20 -6 36 1.8
6 𝜆  2 𝑐𝑎𝑙𝑐=6
Chi-chart
Chi-chart
Chi-chart
Chi-chart
Chi-chart
Chi-chart
Chi-chart
Chi-chart

7 10.6 -3.6 12.96 1.223


7
9 10.6 -3.6
-1.6 12.96
2.56 1.223
0.242
9
13 10.6
11.1 -1.6
1.9 2.56
3.61 0.242
0.325
13
14 11.1
10.6 1.9
3.4 3.61
11.56 0.325
1.091
14 10.6
10.4 3.4
3.6 11.56
12.96 1.091
1.246
14
12 10.4 3.6
1.6 12.96
2.56 1.246
0.246   that is
12
9 10.4
10.9 1.6
-1.9 2.56
3.61 0.246
0.331
From calculator
9
7 10.9
10.4 -1.9
-3.4 3.61
11.56 0.331
1.112
7 10.4 -3.4 11.56 1.112
5.815
5.815
Chi-chart
  0 is that the variables weight and suffering diabetes are independent.
H
H1 is that the variables weight and suffering diabetes are not independent.

and the significant level is 5%


The critical value is 5.99
We reject H0, if

Excepted table
Weight
Light Medium Heavy Sum
Diabetic 19 18 19 56
Non-diabetic 71 69 76 216
Sum 90 87 95 272
Contingency table (observed value)

11 18.5 -7.5 56.25 3.04


Excepted table 19 17.9 1.1 1.21 0.07
26 19.6 6.4 40.96 2.09
Weight
79 71.5 7.5 56.25 0.79
Light Medium Heavy Sum
Diabetic 18.5 17.9 19.6 56 68 69.1 -1.1 1.21 0.02
Non-diabetic 71.5 69.1 75.4 216 69 75.4 -6.4 40.96 0.54
Sum 90 87 95 272 6.55

  , ,
Homework
Homework
Homework
Homework
Homework

You might also like