Beruflich Dokumente
Kultur Dokumente
1 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example
Multiple Comparisons
Assumptions
2 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example
Multiple Comparisons
Assumptions
Motivation
4 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
5 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
6 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
Consumer Preference
8 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
H0 : σ12 = σ22 .
9 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
H0 : σ12 = σ22 .
s12
F(df1 ,df2 ) = ,
s22
where df1 and df2 are the degrees of freedom for s12 and s22 ,
respectively.
10 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
H0 : σ12 = σ22 .
s12
F(df1 ,df2 ) = ,
s22
where df1 and df2 are the degrees of freedom for s12 and s22 ,
respectively.
Notice that F cannot be negative and is unbound on the high
side.
F -is a positively skewed distribution.
11 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
Examples
For a given item, are Wal-Mart prices across the country more
stable than Kroger’s (for like items)?
12 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
14 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
15 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
16 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
17 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
18 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
19 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
20 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
21 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
Recall from the single group situation that the variance of the
mean is equal
to the variance
of the scores divided by the
sY2
sample size i.e.,sȲ2 = nj
j
.
j
22 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
23 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
There are thus two variances that estimate the same value
under the null hypothesis.
2
One (σWithin ) calculated by pooling within group variances.
2
The other (σBetween ) by calculating the variance of the means
and multiplying by the within group sample size.
2
σBetween
If the null hypothesis is exactly true, 2
σWithin
= 1.
24 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
s2
If F = sBetween
2 (i.e., F = MS
MSWithin ) is statistically significant,
Between
Within
we will reject the null hypothesis and conclude that
H0 : µ1 = µ2 = . . . = µm = µ is false.
25 / 104
Goal of Analysis of Variance
A Conceptual Example Appropriate for ANOVA
The Formal ANOVA Model
Example F -Test for Independent Variances
Explanation by Example
Conceptual Underpinnings of ANOVA
Multiple Comparisons
Mean Squares
Assumptions
s2
If F = sBetween
2 (i.e., F = MS
MSWithin ) is statistically significant,
Between
Within
we will reject the null hypothesis and conclude that
H0 : µ1 = µ2 = . . . = µm = µ is false.
26 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
The ANOVA assumes that the score for the ith individual in
the jth group is a function of some overall mean, µ, some
effect for being in the jth group exists, τj , and some
uniqueness exists, εij .
Such a scenario implies that
Yij = µ + τj + εij ,
where
τj = µj − µ,
with τj being the treatment effect of the jth group.
27 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
28 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
and
m
τj2 > 0,
P
Ha :
j=1
respectively.
m
τj2 = 0 is equivalent to
P
Note that H0 :
j=1
H0 : µ1 = µ2 = . . . = µm = µ.
29 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
30 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
and
nj
m X
X
SSWithin = SSError = SSResidual = (Yij − Ȳj )2 ;
j=1 i=1
nj
m X
X
SSTotal = (Yij − Ȳ.. )2 .
j=1 i=1
31 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
32 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
Source SS df MS F p-value
m
P 2 SSBetween MSBetween
Between nj (Ȳj − Ȳ ..) m−1 m−1 MSWithin p
j=1
m P nj
SSWithin
(Yij − Ȳ.j )2
P
Within N −m N−m
j=1 i=1
m Pnj
(Yij − Ȳ ..)2
P
Total N −1
j=1 i=1
33 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
Source SS df MS F p-value
m
P 2 SSBetween MSBetween
Between nj (Ȳj − Ȳ ..) m−1 m−1 MSWithin p
j=1
m P nj
SSWithin
(Yij − Ȳ.j )2
P
Within N −m N−m
j=1 i=1
m Pnj
(Yij − Ȳ ..)2
P
Total N −1
j=1 i=1
34 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Explanation by Example A Worked Example
Multiple Comparisons
Assumptions
35 / 104
Worked Example – Raw Data
Nokia Samsung Motorola
y..
Grand=Mean=(======;=y1bar=dot=dot==)= ===(4.50*10=+=8.00*10=+=7.00*10)/30===6.50
The=grand=mean=is=the=(weighted)=mean=of=the=sample=means=(here=it=is=simply=equal=to=the=mean=of=the=means=due=to=equal=group=sample=sizes.
Sums%of%Squares
Between=Sum=of=Squares ===10*(4.5016.50)2=+=10*(8.0016.50)2=+=10*(7.0016.50)2===65.00===SSBetween
This=is=the=weighted=(because=each=score=in=a=group=has=the=same=sample=mean,=of=course)=sum=of=squared=deviation=between=the=group=means=and=the=grand=mean.
Within=Sum=of=Squares ===9*3.17=+=9*9.11=+=9*11.56===28.5=+=82=+=104===214.50===SSWithin
This=is=the=sum=of=each=of=the=within=group=sum=of=squares.
Mean%Squares
Now,=to=obtain=the=mean=squares,=divide=the=sums=of=squares=by=their=appropriate=degrees=of=freedom:
Mean=Square=Between ===65.00/(311)===32.50===MSBetween
Mean=Square=Within= ===214.50/=27===7.94===MSWithin
Inference
Now,=to=obtain=the=F1statistic,=divide=the=Mean=Square=Between=by=the=Mean=Square=Within:
F"=" 32.50/7.94===4.091
To=obtain=the=p1value,=use=the="F.Dist.RT"=formula=for=finding=the=area=in=the=right=tail=that=exceeds=the=F=value=of=4.091
p"=" 0.028061704
Now,=because=the=p1value=is=less=than=α=(.05=being=typical),=we=reject=the=null=hypothesis.=We=infer=that=the=population=group=mean=are=not=all=equal.=
Thus,=the=same=phone=commercial,=as=attributed=to=different=brands,=had=an=effect=on=the=ratings=of=the=phone.=
The=conclusion=is=that=there=is=an=effect=of=brand=on=consumer=sentiment=1=consumers=rate=the=same=thing=differently=depending=on=the=brand=attribution.=
Summary8Statistics8from8the8Phone8Evaluation
Nokia Samsung Motorola
Mean yj 4.50 8.00 7.00
Standard8deviation sj 1.78 3.02 3.40
Sample8size y.. 10 10 10
Rather8than8using8the8full8data8set,8only8the8summary8statistics8are8actually8needed.8The8reason8is8because8we8can8determine8the8
sums8of8squares8from8the8summary8data.8The8within8sum8of8squares8is8literally8the8sum8of8the8degrees8of8freedom8multiplied8by8the8variance8from8each8group.
Sums%of%Squares
Between8Sum8of8Squares 8=810*(4.50N6.50)28+810*(8.00N6.50)28+810*(7.00N6.50)28=8865.008=8SSBetween
This8is8the8weighted8(because8each8score8in8a8group8has8the8same8sample8mean,8of8cousre)8sum8of8squared8deviation8between8the8group8means8and8the8grand8mean.
Within8Sum8of8Squares 8=81.782*(10N1)8+83.022*(10N1)8+83.402*(10N1)8=8214.50,8which8in8terms8of8variances8(instead8of8standard8deviations)8can8be8written8as:
8=83.17*(10N1)8+9.11*(10N1)8+811.56*(10N1)8=8214.508=8SSWithin
Recall8that8the8sums8of8squares8divided8by8its8degree8of8freedom8is8a8variance8Correspdongly,8a8variance8multiplied8by8its8degrees8
of8freedom8is8a8sum8of8squares.8Thus,8we8are8able8to8find8the8sum8of8squares8by8multiplying8the8variances8by8their8degrees8of8freedom.8
Mean%Squares
Now,8to8obtain8the8mean8squares,8divide8the8sums8of8squares8by8their8appropriate8degrees8of8freedom:
Mean8Square8Between 8=865.00/(3N1)8=832.508=8MSBetween
Mean8Square8Within8 8=8214.50/8278=87.948=8MSWithin
Inference
Now,8to8obtain8the8FNstatistic,8divide8the8Mean8Square8Between8by8the8Mean8Square8Within:
F"=" 32.50/7.948=84.091
To8obtain8the8pNvalue,8use8the8"F.Dist.RT"8formula8for8finding8the8area8in8the8right8tail8that8exceeds8the8F8value8of84.091
p"=" 0.0281
Now,8because8the8pNvalue8is8less8than8α8(.058being8typical),8we8reject8the8null8hypothesis.8We8infer8that8the8population8group8mean8are8not8all8equal.8
Thus,8the8same8phone8commercial,8as8attributed8to8different8brands,8had8an8effect8on8the8ratings8of8the8phone.8
The8conclusion8is8that8there8is8an8effect8of8brand8on8consumer8sentiment8N8consumers8rate8the8same8thing8difference,8depending8on8the8brand8attribution.8
The three groups were a (a) control group, (b) SF, and (c) TL.
38 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
Control SF TL Total
Ȳ -1.61 -3.06 -7.29 -3.78
s 1.83 2.12 1.79 3.00
n 26 29 22 77
39 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
40 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
41 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
42 / 104
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
43 / 104
ANOVA Output from SPSS
Goal of Analysis of Variance
The Formal ANOVA Model
Example: Weight Loss Drink
Explanation by Example
ANOVA Using SPSS
Multiple Comparisons
Assumptions
45 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
46 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
An Analogy
47 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
An Analogy
48 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
An Analogy
49 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
50 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
51 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
52 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
53 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
54 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
56 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
57 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
This is the Type I error rate with which we have always used
(as we only worked with a single test at a time).
58 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
αFW : the probability that one or more tests will reject a true
null hypothesis somewhere in the “family.”
59 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
αEW : the probability that one or more tests will reject a true
null hypothesis somewhere in the “experiment” (or study
more generally).
60 / 104
THING EXPLAINER IS AVAILABLE AT: AMAZON, BARNES & NOBLE, INDIE BOUND, HUDSON
ABOUT
A Hypothesis, A Result
SIGNIFICANT
|< < PREV RANDOM NEXT > >|
xkcd.com/882/
Multiplicity Matters!
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
The above is equivalent to: (1) × Ȳ1 + (0) × Ȳ2 + (−1) × Ȳ3 .
70 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Ȳ1 +Ȳ2
The above is equivalent to: 2 + (−1) × Ȳ3 .
71 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
72 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
74 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
75 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
m
P
It is required that cj = 0.
j=1
76 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Ȳ1 + Ȳ2
Ψ̂ = (.5 × Ȳ1 ) + (.5 × Ȳ2 ) + (−1 × Ȳ3 ) = − Ȳ3 .
2
78 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
79 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
But, recall that in general, the sum of the c-weights that are
positive should sum to 1 and the sum of the c-weights that are
negative should sum to -1 so as to have a more interpretable
confidence interval.
80 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Ȳj − Ȳk
t=r ,
1 1
MSWithin nj + nk
82 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
83 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Ȳj − µ0
t=r .
MSWithin n1j
85 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Liberal critical values are those that are smaller (i.e., easier to
achieve significance) than would be the case ideally.
86 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
87 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
88 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
Tukey’s Test
89 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
90 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
For any number of post hoc tests with any linear combination
of means, the Scheffé Test is generally optimal.
91 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
The Scheffé critical F -value (take the square root for the
critical t-value) is given as
(m − 1)F(m−1,N−m;α) ,
92 / 104
Goal of Analysis of Variance
Why Multiplicity Matters
The Formal ANOVA Model
Error Rates
Explanation by Example
Linear Combinations of Means
Multiple Comparisons
Controlling the Type I Error
Assumptions
93 / 104
Flowchart for Multiple Comparisons
Begin
No
Yes
Is Bonferroni critical
Yes
value less than Use Bonferroni’s method
Scheffé critical value?
No
95 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
96 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
Thus, the larger the sample size, the more robust the model to
these two assumption violations.
97 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
98 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
99 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
Notations
102 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
Notations Continued
SS - Sum of squares
This can be for the Between, Treatment, Among, Within,
Error, or Total Sum of Squares
MS - Mean square (i.e., a variance)
MSWithin is the mean square within a group
Yij - The score for the ith individual in the jth group
εij - Some uniqueness for the ith individual in the jth group
103 / 104
Goal of Analysis of Variance
The Formal ANOVA Model Assumptions of the ANOVA
Explanation by Example What You Learned
Multiple Comparisons Notations
Assumptions
Notations Continued
104 / 104