Learning objectives
1.! 2.! 3.! 4.! Using SSs to determine group differences Interpretation of SSs in ANOVA Overall vs. specific hypotheses Attitudes towards post hoc comparisons
5801 ANOVA
5801 ANOVA
Just to clarify, "ANOVA" or "ANOVA models" refer to a statistical model where ! The response is a continuous variable. ! The predictor is a discrete variable (with 2 or more levels). A fundamental goal ! In regression: How the independent variable relates to the response. ! In ANOVA: How do the groups (i.e., levels of the discrete predictor) differ in terms of the response. Why not just call these regression models? ! Technically, there is nothing wrong with doing so. ! But ANOVA models were developed separately.
5801 ANOVA
! ! ! !
In each situation we have 3 groups, where each group only has 2 observations. In Situation 1 the groups have very different means. Whereas in Situation 2 the groups all have near identical means. Line in the middle is the mean for all six observations (irrespective of group); call this the "grand" mean.
5801 ANOVA
! !
We consider the group mean for each group, and add that to the plot. Next we will consider deviations of the observations.
5801 ANOVA
Deviations of an observation
Situation 1
A deviation from the grand mean can be split into two parts
A deviation of the observation from its group mean A deviation of the group mean from the grand mean
5801 ANOVA
5801 ANOVA
"treatment" because ANOVA originated in experiments (e.g., a treatment is a particular experimental manipulation)
5801 ANOVA
5801 ANOVA
10
5801 ANOVA
Sums of squares
Situation 1 Situation 2
! ! !
Calculate SSTO, SSE, and SST in each situation. The comparison of these various SSs in each situation will tell us if the group means are different or not. They can also reflect how much do the group means differ (remember this is the fundamental goal of ANOVA).
11
5801 ANOVA
Reflects the variance of the group means around the grand mean;
12
5801 ANOVA
! ! !
13
5801 ANOVA
Hypotheses in ANOVA
The overall hypothesis ! This hypothesis evaluates the overall differences between s; also called the omnibus hypothesis. ! Here H1 does not say that all means must be different, only that they're not all the same.
Specific hypotheses ! We may also have hypotheses that declare a particular pattern of difference between the groups, or between a certain subset of the groups; for example,
14
5801 ANOVA
15
5801 ANOVA
! !
16
5801 ANOVA
Or, we formulate more precise post hoc hypotheses H0: (H + T)/2 ! (F + C)/2 H1: (H + T)/2 < (F + C)/2
So what is wrong with doing all these comparisons (i.e., significance tests)? ! Every time we carry out one significance test, there is a chance for a Type I error. ! So when we carry out many significance tests, this chance gets bigger and bigger. ! We need a way to keep this error rate from getting too big.
Copyright 2013 by E. Kwan 17
5801 ANOVA
18
5801 ANOVA
The Bonferroni adjustment is the easiest to understand ! Suppose we have deemed that a 0.05 Type I error rate is acceptable. ! Then, if we need to carry out 10 post hoc comparisons (and conduct a significance test for each one), then do so at a pre-set Type I error rate of 0.05/10 for each test. ! So the Type I error rate for all 10 tests won't be bigger
19