2. Chi-Square Test for Independence:
This lesson explains how to conduct a chi-
square test for independence. The test is
applied when you have two categorical
variables from a single population. It is
used to determine whether there is a
significant association between the two
variables.
3. Procedure Test Concerning for independence
1-Hypothesis
H0: The two attributes are not associated.
H1: The two attributes are associated.
2-Level of significance ο΅= 1% or 5% or any given
value.
3-Test of statistic π π =
πβπ π
π
Where o = observed value
e = estimated value
4. 4-Critical region π2
ο΅, πβ1 (πβ1)
5-Computation
6-Conclusion
If the calculated value of test statistic
falls in the area of rejection, we reject
the null hypothesis otherwise accept it.
5. Weather
Total
Good Bad
Result
Win 12 4 16
Draw 5 8 13
Lose 7 14 21
Total 24 26 50
Example-11:
The members of a sports team are interested in
whether the weather has an effect on their results.
They play 50 matches, with the following results:
Test the claim at 1% significance level that
the result independent of weather.