Statistics and learning
Analysis of variance (ANOVA) Emmanuel Rachelson and Matthieu Vignes
ISAE SupAero
Friday 25th January 2013
- E. Rachelson & M. Vignes (ISAE)
SAD 2013 1 / 10
Statistics and learning Analysis of variance (ANOVA) Emmanuel - - PowerPoint PPT Presentation
Statistics and learning Analysis of variance (ANOVA) Emmanuel Rachelson and Matthieu Vignes ISAE SupAero Friday 25 th January 2013 E. Rachelson & M. Vignes (ISAE) SAD 2013 1 / 10 ANOVA: presentation Allows to evaluate and compare the
ISAE SupAero
SAD 2013 1 / 10
◮ Allows to evaluate and compare the effect of one or several controlled
◮ Under the hypothesis of Gaussian distribution, ANOVA is just a global
SAD 2013 2 / 10
◮ a factor can take k different values. To each level is associated
◮ µi’s are unknown, σ is known. ◮ ∀1 ≤ i ≤ k, a sample of size ni is taken from subpopulation i (we
i = x1 i , . . . , Xni i
i )
SAD 2013 3 / 10
◮ a factor can take k different values. To each level is associated
◮ µi’s are unknown, σ is known. ◮ ∀1 ≤ i ≤ k, a sample of size ni is taken from subpopulation i (we
i = x1 i , . . . , Xni i
i ) ◮ Finally the ANOVA is a test:
SAD 2013 3 / 10
◮ Variable Xj i associated to the jth draw can be decomposed into
i = µ + αi + ǫj i, ◮ where µ is the mean of all X, αi is the mean effect due to level i of
◮ Note that µ + αi is the mean of X on population i which corresponds
◮ Some notations: ¯
k
i=1
ni
j=1 Xj i
n
i
ni
◮ S2 A = 1 n
R = 1 n
i − ¯
n
i − ¯
SAD 2013 4 / 10
A + S2 R
R/σ2 ∼ χ2(n − k).
A/σ2 ∼ χ2(k − 1).
A/(k−1)
S2
R/(n−k) ∼ F(k − 1; n − k), a Fisher Snedecor
A is small compared to S2 R: is the between
SAD 2013 5 / 10
◮ We just want to generalise that to 2 factors A and B with resp. p
◮ to the (i, j) couple of levels for both factors correspond a sample of
◮ The statistical model is balanced if ni,j = r, ∀(i, j). We restrict the
◮ So to any couple of levels (i, j) is associated sample
i,j = x1 i,j, . . . , Xr i,j = xr i,j). ◮ Xi,j is assumed to be N(µi,j, σ2) and we can decompose...
SAD 2013 6 / 10
◮
◮ with resp. effects for A, B and the A × B interaction. ◮ We adapt previous notations: ¯
p
i=1
q
j=1
r
k=1 Xk i,j
pqr
i,j
r
i,j
qr
i,j
pr
◮ S2 A = qr i( ¯
B = pr j( ¯
AB = r u
R = i
i,j − ¯
i
i,j − ¯
SAD 2013 7 / 10
A + S2 B + S2 AB + S2 R
SAD 2013 8 / 10
A
A/(p − 1) = S2 Am
Am/S2 Rm
B
B/(q − 1) = S2 Bm
Bm/S2 Rm
AB
S2
AB
(p−1)(q−1) = S2 ABm
ABm/S2 Rm
R
R/(p − 1) = S2 Rm
SAD 2013 9 / 10
SAD 2013 10 / 10