Professional Documents
Culture Documents
Chi-Square Applications: Karlina Sari, SE., MA. Statistics II November 18, 2010
Chi-Square Applications: Karlina Sari, SE., MA. Statistics II November 18, 2010
Ej
i 1 j 1 Eij
r = number of rows; k = number of columns;
Oij = observed frequency in row i column j;
Eij = expected frequency in row i column j
3. Find X²α where df = (r-1)(k-1)
Example 2
A traffic-safety researcher has observed 500 vehicles at
a stop sign in a suburban neighborhood and recorded
the type of vehicle and driver behavior at the stop
sign. At the 0.05 level of significance, could there be
some relationship between driver behavior and the
type of vehicle being driven?
Behavior at Stop Sign Total
Type of Stopped Coasted Ran it
Vehicle Sedan 183 107 60 350
Wagon 54 27 19 100
Pickup 14 20 16 50
Total 251 154 95 500
Comparing Proportions from k
Independent Samples
1. H0 : π1 = π2 = π3 = …. = πk
H1 : At least one of the πj values is different
2. r k (O E ) 2
2 ij ij
i 1 j 1 Eij
r = number of rows; k = number of columns;
Oij = observed frequency in row i column j;
Eij = expected frequency in row i column j
3. Find X²α where df = (r-1)(k-1)
Example 3
The contingency below was obtained from to survey data of
the Bureau of the Census:
Period Total
Moved to
a Diff
‘70-’74 ‘75-’79 ‘80-’84
State Yes 93 91 174 358
No 907 909 1826 3642
1000 1000 2000 4000