Professional Documents
Culture Documents
( o e ) 2
2 i i
ei
Reject H0 if 2 2
α
(with k – 1 degrees
of freedom) 0 2
Do not Reject H0
reject H0 2
Lecture 13- Applied Statistics- English Section-2018
Chi-Square Test Statistic
H0: The distribution of calls is uniform
over days of the week
HA: The distribution of calls is not uniform
(290 246)2
(250 246)2
(192 246)2
2 ... 23.05
246 246 246
k – 1 = 6 (7 days of the week) so
use 6 degrees of freedom:
2.05 = 12.5916
= .05
Conclusion:
2 = 23.05 > 2 = 12.5916 so
reject H0 and conclude that the 0 2
Do not Reject H0
distribution is not uniform reject H0
Contingency Tables
Situations involving multiple population
proportions
Used to classify sample observations according
to two or more characteristics
Also called a crosstabulation table.
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
th th
(i Row total)( j Column total)
eij
Total sample size
Example:
(120)(36)
e11 14.4
300
36 264 300
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
36 264 300
Decision Rule:
If 2 > 3.841, reject H0,
otherwise, do not reject H0
Here, 2 = 0.6848
= 0.05 < 3.841, so we
do not reject H0
2.05 = 3.841 2 and conclude that
gender and hand
Do not reject H0 Reject H0 preference are
independent
Lecture 13- Applied Statistics- English Section-2018
Lecture Summary