Login
📚 Mostly Harmless Statistics
Chapters ▾
⇩ Download ▾

11.4 Chapter 11 Formulas

One-Way ANOVA

H0:μ1=μ2=μ3==μk

fH1: At least one mean is different.

SourceSS = Sum of Squares d f MS = Mean SquareF
Between (Factor) n i ( x ¯ i x ¯ G M ) 2 k 1 M S B = S S B k 1 F = M S B M S W
Within (Error) ( n i 1 ) s i 2 N k M S W = S S W N k  
Total SST N 1   

x¯i = sample mean from the ith group

ni = sample size of the ith group

k = number of groups

si2 = sample variance from the ith group

N = n 1 + n 2 + + n k

x ¯ G M = x i N

Bonferroni Test

H 0 : μ i = μ j

H1:μiμj

Bonferroni test statistic: t=x¯ix¯j(MSW(1ni+1nj))

Multiply p-value by m=kC2, divide area for critical value by m=kC2.

Two-Way ANOVA

Row Effect (Factor A):
H0: The row variable has no effect on the average ___________________.
H1: The row variable has an effect on the average ___________________.
Column Effect (Factor B):
H0: The column variable has no effect on the average ___________________.
H1: The column variable has an effect on the average ___________________.
Interaction Effect (A×B):


H0: There is no interaction effect between row variable and column variable on the average ___________________.
H1: There is an interaction effect between row variable and column variable on the average ___________________.
Source S S d f M S F
A (row factor) S S A a 1 M S A = S S A d f A F A = M S A M S E
B (column factor) S S B b 1 M S B = S S B d f B F B = M S B M S E
A×B (interaction) S S A × B ( a 1 ) ( b 1 ) M S A × B = S S A × B d f A × B F A × B = M S A × B M S E
Error (within) S S E a b ( n 1 ) M S E = S S E d f E  
Total S S T N 1   

Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University), hosted on LibreTexts (stats.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.