Download presentation
Presentation is loading. Please wait.
Published byHarriet Black Modified over 9 years ago
1
One-way Analysis of Variance 1-Factor ANOVA
2
Previously… We learned how to determine the probability that one sample belongs to a certain population. Then we learned how to determine the probability that two samples belong to the same population.
3
Now… We will learn how to determine the probability that two or more samples were taken from the same population. While the t tests use standard deviation units (standard error of the mean and standard error of the difference), this new analysis uses variance.
4
One-Way Analysis of Variance One-way (or one factor) just means that we are looking at the effect of one independent variable. With an ANOVA, we can partition the variance into categories to determine how much of the variance is due to our experimental procedure and how much is due to individual differences or experimental error. Instead of a t score, the ANOVA produces an F score, which has its own table.
5
One-way ANOVA Hypothesis The null hypothesis for the ANOVA with three groups is: H 0 : μ 1 = μ 2 = μ 3 The alternative hypothesis is: H 1 : μ 1 ≠ μ 2 ≠ μ 3
6
One-way ANOVA Hypothesis Notice, at the end of the ANOVA, we cannot say which group’s results are responsible for rejecting the null. To do that, we have to conduct a post hoc analysis, which we will get to later.
7
Terms refers to a raw score from a group (g). refers to the mean of a group. refers to the mean of all scores in all groups or the “grand mean.”
8
Key Deviations Remember we use deviation scores to find sum of squares (SS) and SS to find variance. The mean score for a group minus the grand mean. A raw score in a group minus the group mean. A raw score minus the grand mean.
9
Picturing the Variability If you have only a little within-groups variability, but a lot of between groups variability, it is easy to see that there is an effect. If you have a lot of within groups variability, but only a little between groups variability, it is hard to see that there is an effect. See p. 241.
10
Picturing the Variability Between Groups Variability Within Groups Variability Between Groups Variability Within Groups Variability Total Variability
11
Three Sources of Variability 1.Individual Differences 2.Experimental Error 3.Treatment Effect Within Groups Variability Between Groups Variability
12
Sum of Squares To run the ANOVA, we are going to first find the sum of squares for each variance of interest. Total SS: Within-groups SS: Between-groups SS:
13
Between-groups SS This one might need a little explaining: All it means is that you subtract the grand mean from the group mean and square the result, then multiply it times the group N. Do this for each group and add them up.
14
Step 1: Find SS X 2 4 8 6 8 9 8 11 (2-7) 2 = 25 (4-7) 2 = 9 (8-7) 2 = 1 (6-7) 2 = 1 (8-7) 2 = 1 (9-7) 2 = 4 (8-7) 2 = 1 (11-7) 2 = 16 (2-5) 2 = 9 (4-5) 2 = 1 (8-5) 2 = 9 (6-5) 2 = 1 (8-9) 2 = 1 (9-9) 2 = 0 (8-9) 2 = 1 (11-9) 2 = 4 (5-7) 2 = 4 (9-7) 2 = 4 Group 1 Group 2 Mean = 5 Mean = 9 Grand Mean = 7
15
Step 2: ANOVA Summary Table SOURCESSdfMSF BetweenSS b df b = K – 1 * SS b /df b = MS b MS b /MS w = F WithinSS w df w = N - KSS w /df w = MS w TotalSS tot df tot = N - 1 K = # of groups
16
Step 2: ANOVA Summary Table SOURCESSdfMSF BetweenSS b = 32df b = K – 1 = 1SS b /df b = MS b 32/1 = 32 MS b /MS w = F 32/4.33 = 7.38 WithinSS w = 26df w = N – K = 6SS w /df w = MS w 26/6 = 4.33 TotalSS tot = 58df tot = N – 1 = 7
17
Step 3: Find F crit Look at Table C in Appendix 4 Find the column associated with df b Find the row associated with df w In our example, the critical value at the.05 level is 5.99, and 13.7 at the.01 level.
18
Step 4: Make a Decision If we set α =.05, we can reject the null because F obt (7.38) is bigger than F crit (5.99). If we set α =.01, we retain the null because F obt (7.38) is smaller than F crit (13.7).
19
Step 5: Interpret the Results Because the obtained F is larger than the critical value at the.05 level, we reject the hypothesis that the samples came from the same population and conclude that the treatments varied in their effectiveness. Because the obtained F is smaller than the critical value at the.01 level, we retain the hypothesis that the samples came from the same population and conclude that the treatments did not vary in their effectiveness.
20
What is F? F is the ratio of variability between groups to variability within groups. (MS b /MS w ) If the samples came from the same population, we would expect both between and within group variability to be about the same, so we would expect F to be 1. If the samples do not come from the same population, we would expect the between group variability to be greater than the within group variability, which would make F bigger (because between group variability is in the numerator).
21
What is F? Also, just in case you were wondering, if you ran an independent samples t test on the data in our example (remember we had only two groups), you would get the same exact results. This is because the math behind the 1-way ANOVA and the 2-sample t test is the same.
22
Activity #1 Number of tasks completed: Group 1 (downers) = 4, 1, 5, 2 Group 2 (placebo) = 5, 6, 8, 9 Group 3 (uppers) = 8, 7, 9, 8
23
Now What? We rejected the null, so we are pretty sure that μ 1 ≠ μ 2 ≠ μ 3. In other words, we are pretty sure that people in one of the groups are somehow different from people in another group, but we don’t know which groups. We need to do a post hoc analysis. There are many of them, but we will talk about the Fisher LSD.
24
Fisher LSD (Least Significant Difference) Test The reason we don’t just run a bunch of t tests when we have more than two groups to compare is that we increase the probability of Type I Error (incorrectly rejecting the null). Why is this? Because, the probability of finding a difference between groups 1 and 2 OR groups 1 and 3 OR groups 2 and 3 is much greater than the probability of finding a difference between any two of the groups (remember the addition rule of probability).
25
Fisher LSD (Least Significant Difference) Test The Fisher LSD increases the difference required to find a significant result. Here is the formula: Get t from the table using df = N – K. N 1 and N 2 are the sample sizes for the first and second samples we are comparing.
26
Fisher LSD (Least Significant Difference) Test For three groups, you will have three comparisons: – Group 1 mean – Group 2 mean – Group 1 mean – Group 3 mean – Group 2 mean – Group 3 mean
27
Fisher LSD (Least Significant Difference) Test If all of your sample sizes are the same, you will only need to compute LSD once. Remember what LSD means, and it will make sense. Least significant difference means the smallest difference between the sample means that can be significant.
28
Fisher LSD (Least Significant Difference) Test If the difference between the group means you are comparing is at least as large as your obtained LSD, then the difference between those groups is “significant” at the alpha level you used.
29
Activity #2 Using α =.01, conduct a LSD post hoc analysis on our activity #1 data. Interpret the results.
30
Homework Study for Chapter 11 Quiz Read Chapter 12 Do Chapter 11 HW
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.