Chi-Square Statistic Calculation
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Example from:
Chi-Square Independence Test - Quick Introduction
2
3
1. Observed Frequencies
4
Middle school or lower
High schoolBachelor'sMaster'sPhD or higher
5
Never married1836219690
6
Married1236453621150
7
Divorced6993330
8
Widowed3996330
9
3990845433300
10
11
2. Expected Frequencies under Null Hypothesis of Independence
12
Middle school or lower
High schoolBachelor'sMaster'sPhD or higher
13
Never married11.72725.216.29.990
14
Married19.545422716.5150
15
Divorced3.998.45.43.330
16
Widowed3.998.45.43.330
17
3990845433300
18
19
20
3. Residuals = (Observed - Expected)
21
Middle school or lower
High schoolBachelor'sMaster'sPhD or higher
22
Never married6.309.00-4.20-7.20-3.900.00
23
Married-7.50-9.003.009.004.500.00
24
Divorced2.100.000.60-2.40-0.300.00
25
Widowed-0.900.60.6-0.30
26
0.000.000.000.000.000.00
27
28
4. Chi-Square Points = (Observed - Expected) ^2 / Expected
29
Middle school or lower
High schoolBachelor'sMaster'sPhD or higherTotal
30
Never married3.393.000.703.201.5411.83
31
Married2.881.800.213.001.239.13
32
Divorced1.130.000.041.070.032.27
33
Widowed0.210.000.040.070.030.34
34
7.624.801.007.332.8223.57
35
36
5. Chi-Square Statistic = Sum Chi-Square Points
37
23.57
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100