Chi-Square: Reporters: Angelo John Roque Jomar Condicion Mark Paul Sabino Gerard Dela Pena Hallen Valerozo
Chi-Square: Reporters: Angelo John Roque Jomar Condicion Mark Paul Sabino Gerard Dela Pena Hallen Valerozo
The Chi-Square test is used when treating ordinal data in the form of frequencies
or proportion.
2
Formula: 2
𝑘
( 𝑂𝑖 − 𝐸 ˙𝑖)
𝑋 =∑
𝑖=1 𝐸𝑖
Where: Oi = observed frequencies
Ei = expected frequencies
Contingency Table
In this test, two variables are involved. One variable will be tested for
independence to the other variable. A two-way classification table will be used
to tabulate the observed frequencies.
Example:
Survey Results
Solution:
1. Ho: the responses of the five groups do not differ significantly.
2. a=1%
3. Use Chi-Square test.
4. Solve first for the expected values using the formula
For example,
= sum of the observed values in the first column times the sum of the observed values in the first
row divided by the grand total.
=9.082126
The values if the expected frequencies are as follows:
5. df=(c-1)(r-1)=(4-1)(5-1)=(3)(4)=12
6. Tabular value=26.217
Goodness of Fit
A group of university deans rated 100 professors into three categories: excellent,
satisfactory and needs improvement. If teaching effectiveness is normally
distributed in the population of college professors, determine if the distribution
of ratings by the deans differ significantly from the expected ratings.
Classification of Professors
A B
C D
Example:
A sample survey of a presidential candidate in the Philippines shows that 120 of 200 male voters
dislike candidate X and 175 of 250 female voters dislike the same candidate.
Determine whether the difference between the two sample proportions, 120/200 and 175/250 is
significant or not at 1% level of significance.
Gender Voters who Dislike the Voters Who Like the Total
Candidate Candidate
Male 120(A) 80(B) 200(A+B)
Female 175(C) 75(D) 250(C+D)
Total 295(A+C) 155(B+D) 450(N)
Computing for , we have:
=
=
=4.92
The degree of freedom is (2-1)(2-1)=1. The tabular value of is 3.841 at 5% level of significance.
Therefore, there is a significant difference between the opinions of male and female voters toward the
candidate and there are more voters who dislike the candidate than those who like him.