Professional Documents
Culture Documents
Lecture 8 Chi-Square Analysis
Lecture 8 Chi-Square Analysis
Chi-Square Analysis
1
Learning Outcomes
2
Contingency Tables
Contingency Tables
Situations involving multiple population
proportions
Used to classify sample observations according
to two or more characteristics
Also called a crosstabulation table.
3
Contingency Table Worked Example
4
Contingency Table Worked Example
(continued)
Hand Preference
sample size = n = 300:
Gender Left Right
120 Females, 12
were left handed
Female 12 108 120
180 Males, 24 were
left handed Male 24 156 180
36 264 300
5
Logic of the Test
H0: Hand preference is independent of gender
HA: Hand preference is not independent of gender
6
Finding Expected Frequencies
120 Females, 12 Overall:
were left handed
180 Males, 24 were P(Left Handed)
left handed = 36/300 = .12
If independent, then
P(Left Handed | Female) = P(Left Handed | Male) = .12
So we would expect 12% of the 120 females and 12% of the 180
males to be left handed…
th th
(i Row total)( j Column total)
eij
Total sample size
Example:
(120 )(36 )
e11 14.4
300
8
Observed v. Expected Frequencies
r c (oij eij )2
2
with d.f . (r 1)(c 1)
i1 j1 eij
where:
oij = observed frequency in cell (i, j)
eij = expected frequency in cell (i, j)
r = number of rows
c = number of columns
10
Observed v. Expected Frequencies
Hand Preference
13
Example 8.1
(continued)
Carry the contingency analysis based on the
following data. Use alpha 1%.
Female Male Total
Correct Recall 33 25 58
Incorrect Recall 22 20 42
Total 55 45 100
14