Professional Documents
Culture Documents
22-Feb-05
Link to the different Worksheets by using the Tabs at the foot of this page.
Calculations for some cells are sometimes displayed in nearby cells in bold
View the equation or function used for any calculation made in a cell by
- the calculation will appear in the 'formula bar' just below the toolbars at the top
hted in turquoise
Excel Function: CHITEST(Obs, Exp) returns the upper 1-tailed p-value for a c 2-test.
Note CHITEST does not use the Yates correction for df = 1
Excel Function: CHIDIST(c STAT, df) returns the upper 1-tailed p-value for a given value of
Excel Function: CHIINV(a ,df) returns the upper 1-tailed critical value for c 2 for a given signific
Obs, Exp: Identify the ranges containing the Observed and Expected valu
c 2: Chi-squared value
df: Degrees of freedom
a : Significance Level
Category i AB Ab aB ab
Observed Frequency O: 131 28 32 9
Ratio: 9 3 3 1
=$J20*F21/$J21
=(F20-F23)^2/F23
or a given value of c 2.
Totals
200
16
200
7.23556
V(G35,G33)
ST(G31,G33)
ST(F20:I20,F23:I23)
Contingency Test
Excel Function: CHITEST(Obs, Exp) returns the upper 1-tailed p-value for a c 2-test.
Note CHITEST does not use the Yates correction for df = 1
Excel Function: CHIDIST(c STAT, df) returns the upper 1-tailed p-value for a given value of
Excel Function: CHIINV(a ,df) returns the upper 1-tailed critical value for c 2 for a given signi
Obs, Exp: Identify the ranges containing the Observed and Expected
c 2: Chi-squared value
df: Degrees of freedom
a : Significance Level
Observed Frequencies
Drug Placebo Totals
Much Improvement 26 7 33 =SUM(D21:E21)
Some Improvement 42 18 60
No Improvement 32 25 57
Totals: 100 50 150 =SUM(F21:F23)
Expected Frequencies
Drug Placebo
22 11 =E$24*$F21/$F$24
40 20
38 19
D21:E23,I21:J23)
Yates Correction
Refer to Sections 11.1.3 and 11.2.3 in "Essential Mathematics & Statistics for Science"
Excel Function: CHITEST(Obs, Exp) returns the upper 1-tailed p-value for a c 2-test.
Note CHITEST does not use the Yates correction for df = 1
Excel Function: CHIDIST(c STAT, df) returns the upper 1-tailed p-value for a given value of
Excel Function: CHIINV(a ,df) returns the upper 1-tailed critical value for c 2 for a given signific
Obs, Exp: Identify the ranges containing the Observed and Expected va
c 2: Chi-squared value
df: Degrees of freedom
a : Significance Level
Observed Frequencies
A B
Positive responses, r = 26 40 66 =SUM(D21:E21)
Number of 'trials', n = 70 50 120
96 90 186 =SUM(F21:F22)
ue for a c 2-test.
ction for df = 1
Expected Frequencies
A B
34.06452 31.93548
61.93548 58.06452
=$F22*D$23/$F$23
-J21)-0.5)^2/J21
D20:E22,I20:J22)
use Yates correction
Upper Critical Values for the Chi-Squared Distribution
One-tailed Values