Professional Documents
Culture Documents
Lecture 31-Chi Square Distribution
Lecture 31-Chi Square Distribution
Lecture-31
Chi-Square Distribution
Unit 6: Applications of Probability and Statistics
Learning Outcomes:
(Non-Parametric test)
Chi-Square Distribution
2
2
𝑋−𝜇
𝑍 =
𝜎
𝑛 2
2
𝑋𝑖 − 𝜇𝑖
𝜒 =
𝜎𝑖
𝑖=1
𝑛 𝑛
𝑂𝑖 = 𝐸𝑖
𝑖=1 𝑖=1
𝒏
𝑂𝑖 − 𝐸𝑖 𝟐
𝟐
𝝌 =
𝐸𝑖
𝒊=𝟏
𝝌𝟐 − test as Non-parametric test
𝒏
𝟐
𝟐
𝑂𝑖 − 𝐸𝑖
𝝌 =
𝐸𝑖
𝒊=𝟏
Null Hypothesis 𝐻0 : An equal number of customers come into the shop each
day.
𝒏
𝟐
𝟐
𝑂𝑖 − 𝐸𝑖
𝝌 =
𝐸𝑖
𝒊=𝟏
0 100 100 9 9
= + + + + = 4.36
50 50 50 50 50
(A) 1.077
(B) 2.077
(C) 3.077
(D) 0.077
Problem 2. A sample survey of 500 families with 4 children has been made
regarding the number of boys and girls in the families. The following data
was obtained.
No. of boys: 4 3 2 1 0
No. of girls: 0 1 2 3 4
Is the data consistent with the hypothesis that the male and female births are
equally possible? Test at 5 % level of significance. [ At 5 % level 𝜒 2 = 9.488].
Solution. Null hypothesis 𝐻0 : Male and female births are equally possible.
1
𝑝 = (Probability of male birth)
2
1
𝑞 = (Probability of female birth)
2
1 4
Probability that a family of 4 children has 𝑟 male children= 4𝐶𝑟 = (4𝐶𝑟 )/16
2
𝒏
𝑂𝑖 − 𝐸𝑖 𝟐
𝟐
𝝌 =
𝐸𝑖
𝒊=𝟏
16 625 144 0 81
= + + + + = 8.89
31 125 188 125 31