Professional Documents
Culture Documents
Chi-Square(χ ) Test
Meaning of Chi-Square (𝒙𝟐 ) Distribution
𝑥 2 distribution is a continuous probability
distribution. The probability function of 𝑥 2
distribution is given by:
2 2 𝑣𝑐 ;1 𝑥 2 /2
𝑓(𝑥 ) = 𝑒(𝑥 ) 𝑒
Where, 𝑒 = 2.71828
𝜇3 2 64𝑣 2 8
(iii) 𝛽1 = = = , 𝐻𝑒𝑛𝑐𝑒, 𝛾1 = 8/𝑣
𝜇2 3 8𝑣 3 𝑣
𝜇4 48𝑣:12𝑣 2 12
𝛽2 = = =3+
𝜇2 2 4𝑣 2 𝑣
12
𝐻𝑒𝑛𝑐𝑒, 𝛾2 = 𝛽2 − 3 =
𝑣
Meaning of Chi-Square Test
Chi-square test is a technique to test whether a
given discrepancy (i.e. value of 𝑥 2 ) between
observed (actual) frequencies and expected
(theoretical) frequencies is considered to be
significant. The formula for computing chi-
square is given by-
After combining the last three classes, the number of classes would be reduced to 6 as
follows:
IS 𝒙𝟐 Distribution Free Test?
𝐻0 : 𝜎 2 = 𝜎02 , 𝐻1 : 𝜎 2 ≠ 𝜎02 (In case the test is whether population variance is equal to
given value)
𝐻0 : 𝜎 2 ≤ 𝜎02 , 𝐻1 : 𝜎 2 > 𝜎02 (In case the test is whether population variance shall not
exceed a given value)
𝑥 = 340 (𝑥 − 𝑥 )2 = 56
𝑥 840
Sample mean = 𝑥 = 𝑛
= 10 = 34
2
(𝑥 − 𝑥 ) 56
𝑆2 = =
𝑛−1 9
56
(𝑛 − 1)𝑆 2 9. ( ) 56
2
𝜒 = = 9 = = 14
𝜎 2 4 4
Degrees of freedom = 𝜈 = 𝑛 − 1 = 10 − 1 = 9
𝜒 2 𝑐𝑎𝑙𝑐𝑢𝑙𝑎𝑡𝑒𝑑 = 14
𝜒 2 𝑡𝑎𝑏𝑢𝑙𝑎𝑟 = 𝜒 2 0.05,𝜈<9 = 16.91
𝜒 2 𝑐𝑎𝑙𝑐𝑢𝑙𝑎𝑡𝑒𝑑 = 14 < 𝜒 2 𝑡𝑎𝑏𝑢𝑙𝑎𝑡𝑒𝑑 = 16.91
Since the computed value of 𝜒 2 is less than the
tabular value of𝜒 2 , 𝐻0 is accepted.
∴ The variance of the distribution is 4 tons.
Case Study - 14.
Two researchers adopted different sampling techniques
while investigating the same group of students to find the
number of students falling in different intelligence level. the
results are as follows:
Number of students in each level
Above
Researcher Below average Average Genius Total
Average
X 137 164 152 147 600
Y 32 37 56 35 180
Total 169 221 208 182 780
Required:
Would you say that the sampling techniques adopted by the two researchers
are significantly different?
H0: There is no significance difference among the sampling
techniques adopted by the two researchers.
H1: There is a significance difference.
Degrees of freedom = (r-1) (c-1) = (2-1) (4-1)=3
r = No. of rows c = No. of columns.
Given: Observed frequency (O)
Observed Contingency Table
Researcher Below Average Above Gents Total
Average Average
X 137 164 152 147 600 = R1
Y 32 57 56 35 180 = R2
Total 169 221 208 182 780 : N
C1 C2 C3 C4
Calculation of expected frequency (E)
𝑅𝑖 ×𝐶𝑗
𝐸𝑖𝑗 =
𝑁
Where 𝑅𝑖 = An 𝑖𝑡ℎ row total
𝐶𝑗 = A 𝑗𝑡ℎ column total
N = Sample size = 𝑅𝑖 = 𝐶𝑗
2
(O – E)2
𝜒 = = 5.801
𝐸
O E O – E (O – E)𝟐 (𝐎 – 𝐄)𝟐
𝑬
90 75 15 225 225/75=3
135 150 -15 225 225/150=1.5
75 75 0 0 0/75=0
𝜒2 =
(O – E)2
=4.5
𝐸
𝜒 2 𝑐𝑎𝑙𝑐𝑢𝑙𝑎𝑡𝑒𝑑 = 4.5
Degrees of freedom = 𝜈 = 𝑛 − 1 = 3 − 1 = 2