Analysis of Variance: Part 1 Oneway ANOVA
When there are more than two means Each time two means are compared the probability (Type I error) =α.
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 P(Type I error)=.05
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 P(Type I error)=.05+.05
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 P(Type I error)=.05+.05+.05=.15
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 X 4 P(Type I error)=.05+.05+.05+.05
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 X 4 P(Type I error)=.05+.05+.05+.05+.05
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 X 4 P(Type I error)=.05+.05+.05+.05+.05+.05=.30
When there are more than two means Each time two means are compared the probability (Type I error) =α. X 1 X 2 X 3 X 4 X 5 P(Type I error)=.05+.05+.05+.05+.05+.05+.05+.05+.05+.05=.50
Protection level Analysis of Variance protects from inflating Type I errors by making the experiment-wise Probability (Type 1 Error) < α.
Partitioning the Variance Total Variance
Partitioning the Variance Total Variance Between Groups Within Groups
Between Groups Variance The variance in the data that can be attributed to the independent variable. The variance among the means.
Within Groups Variance Variance due to all other sources. Subject factors Error variance Residual variance Variances among data and group means in each group.
F-Ratio F= Between Groups Variance Within Groups Variance
Assumptions Treatments are Independent Dependent Variable is measured on at least an ordinal scale Dependent Variable is normally distributed
When to use Between Groups ANOVA Different Subjects are in each treatment. There are 2 means or more to compare. (Can use for 2 groups: t is easier)
How to set up the ANOVA Summary Table Source
How to set up the ANOVA Summary Table Source Total
How to set up the ANOVA Summary Table Source Between Within Total
How to set up the ANOVA Summary Table Source Between Sums of Squares SS B Within SS W Total SS T
How to set up the ANOVA Summary Table Source Sums of Squares df Between SS B df B Within SS W df W Total SS T df T
How to set up the ANOVA Summary Table Source Sums of Squares df Mean Squares Between SS B df B MS B Within SS W df W MS W Total SS T df T
How to set up the ANOVA Summary Table Source Sums of Squares df Mean Squares F Between SS B df B MS B F Within SS W df W MS W Total SS T df T
Calculating the F Statistic Calculate Sums of Squares Calculate df Calculate Mean Squares Calculate F
How to Calculate the Sums of Squares Between Source Sums of Squares Between SS B ( X ) n 2 2 T N Within SS W Total SS T
How to Calculate the Sums of Squares Between Source Sums of Squares Sum of scores in each group Between SS B ( X ) n 2 2 T N Within SS W Total SS T
How to Calculate the Sums of Squares Between Source Between Within Sums of Squares SS B SS W T=Total= Sum of all scores. ( X ) n 2 2 T N Total SS T
How to Calculate the Sums of Squares Between Source Sums of Squares Between SS B ( X ) n 2 2 T N Within SS W n=number of scores/group Total SS T
How to Calculate the Sums of Squares Between Source Sums of Squares Between SS B ( X ) n 2 2 T N Within N= Total number of scores SS W Total SS T
How to Calculate the Sums of Squares Total Source Sums of Squares Between SS B Within SS W Total SS T X 2 T N 2
How to Calculate the Sums of Squares Total Source Between Sums of Squares SS B Within SS W Sum of all scores squared first Total SS T X 2 T N 2
How to Calculate the Sums of Squares Within Source Sums of Squares Between SS B ( X ) n 2 2 T N Within SS W SS T -SS B Total SS T X 2 T N 2
How to Calculate the Degrees of Freedom Source Sums of Squares df Between SS B df B = k-1 Within SS W df W Total SS T df T
How to Calculate the Degrees of Freedom Source Sums of Squares df k is the number of groups Between SS B df B = k-1 Within SS W df W Total SS T df T
How to Calculate the Degrees of Freedom Source Sums of Squares df Between SS B df B = k-1 Within SS W df W = k(n-1) Total SS T df T
How to Calculate the Degrees of Freedom Source Sums of Squares df Between SS B df B = k-1 Within SS W df W = k(n-1) Total SS T df T = N - 1
How to Calculate the Mean Squares Source Sums of Squares df Mean Squares Between SS B df B MS B Within SS W df W MS W Total SS T df T
How to set up the ANOVA Summary Table Source Sums of Squares df Mean Squares F Between SS B df B MS B = F MS W Within SS W df W Total SS T df T
Determining the Critical F Alpha =.05 Find Column for df Between Find Row for df Within Compare Critical F to Obtained F
Statistical Decision Making If Critical F > Obtained F failed to reject null hypothesis If Critical F < Obtained F reject the null hypothesis
Interpreting the Results Graph Means Use a multiple Comparison test to determine which means are significantly different
Example: The Effects of Mood on Originality Scott Halam s Senior Thesis, 1997 H 1 : Positive mood will facilitate creativity more than negative mood or neutral mood. H 1: X positive > X Neutral =X Negative
A Portion 1 Data from Scott s Study + 0 - Originality Scores - 23 33 20 13 5 14 37 21 21 21 7 41 26 9 14 46 16 31 41 1 23 20 20 20 1 Only female participants. 90
How to set up the ANOVA Summary Table:Example Source Mood Between Within Sums of Squares SS B SS W Total SS T
How to Calculate the Sums of Squares Within: Find the parts Source Sum scores for each Sums of group. Squares Total of all scores. Mood Between Within Total SS B Number in Number SS SS W T -SS each group B All scores squared, SS T ( n X 2 T 2 2 X N 2 ) T N Total then summed.
A Portion 1 Data from Scott s Study X n + 0-23 33 20 13 5 14 37 21 21 21 7 41 26 9 14 46 16 31 41 1 23 20 20 20 227 105 184 8 8 8 = = = 227 8 2 105 + 8 = 14076.25 ( n 2 184 + 8 2 2 X ) 2 T N 51529 27225 33856 + + 8 8 8 6441.125 + 3403.125 + 4232
A Portion 1 Data from Scott s Study X n + 0-23 33 20 13 5 14 37 21 21 21 7 41 26 9 14 46 16 31 41 1 23 20 20 20 227 +105 +184 = T 8 + 8 + 8 = N = = = = 14076.25 T 2 N ( 227 + 105 + 184) 8 + 2 516 24 266256 24 11094 8 + 8 2
Finishing SS B Source Sums of Squares Between Mood SS B = 14076.25 11094 = 2982. 25 Within SS W Total SS T
How to Calculate the Sums of Squares Total: Example Source Sums of Squares Between SS B Within SS W Total SS T X 2 T N 2
Finding SS w + 23 13 37 21 26 46 41 20 0 33 5 21 7 9 16 1 20-20 14 21 41 14 31 23 20 X T N 2 2 + 2 529 169 1369 441 676 2116 1681 400 0 2 1089 25 441 49 81 256 1 400-2 400 196 441 1681 196 961 529 400