Chi Square X
Chi Square X
• Candidates Frequency
• A 98
• B 115
• C 102
• X2= 158/105
• X2= 1.5047619048 / 1.505
• X2 =1.505
• In order to test the significance of the
computed X2 value using a specified criterion
of significance, the obtained value is referred
to a table with appropriate degrees of
freedom which is equal to k-1,
• Where k is equal to the number of categories
of the variable.
• In this problem df = 3-1 = 2
• Therefore, for the X2 to be significant at the
0.05 level, the computed value should be
more than (>) the tabular value which is
5.991
summarizing
• Level of significance = 5%
• df = k-1 (number of categories minus 1)
• = 3-1
• =2
• Critical value: X2 (.05) = 5.991
• Decision rule: Reject H0 if X computed >
5.991, otherwise do not reject H0
• Conclusion:
• Since 1.505 < 5.991, do not reject H0.
• There is no sufficient evidence or reason to
reject the null hypothesis that the frequencies
in the population are equal.
Chi-square as a Test of Independence: Two
Variable Problem
• Chi-square can also be used to test the
significance of the relationship when data
are expressed in terms of frequencies of joint
occurrence.
• For this kind of problem, a two-way
contingency table with rows and columns are
set-up.
• In the case of two variable problems, the
expected frequencies are those predicted on
the independence of the two variables.
Formula:
• Fe = [(rowtotal)(columntotal)]
• N
• Example:
• Suppose, one wants to know if there is a
relationship between gender and school
choice. A sample 100 female and 100 male
freshman students were asked individually
for their school choice..
• Test the null hypothesis of no significant
relationship between the students’gender
and school choice at 5% level of
significance.
Formula:
• Fe = [(rowtotal)(columntotal)]
• N
• Male:
• Public = 65
• Private = 35
• Female:
• Public = 42
• Private= 58
Formula:
• Fe = [(rowtotal)(columntotal)]
• N
Private 35 C2 58 C4 93
•
X2=10.62
Computational Procedure:
• 3. Prepare the hypothesis
• Null hypothesis: No significant relationship
exist between gender and school choice.
• Level of Significance: 5%
• Degrees of Freedom: (c-1)(r-1)
• c= no. of columns
• r = no. of rows
• df = (2-1)(2-1) = (1)(1) = 1
• CV = 3.841
• 4. Decision rule
• Since the computed value X2 = 10.62 is greater
than the critical value (3.841), we reject the null
hypothesis.
• Thus, the two variables of gender and school are
related: females tend to prefer private schools
while males tend to prefer to study in public
schools.
Thank You
Kingsoft Office
ake Presentation much more fun