Introducing ANOVA
Overview
Andy Baker explains how one-way ANOVA extends the t-test from comparing two means to testing whether at least one of three or more group means differs. He defines the F statistic as mean square between groups divided by mean square within groups, then demonstrates the degrees of freedom and critical-value decision using three classes, 63 students, and a critical F value of 3.15.
Key takeaways
- ANOVA tests whether at least one of three or more population means differs, rather than identifying every pair of differing groups.
- One-way ANOVA compares between-group variation with within-group variation using F = MS between ÷ MS within.
- A large F statistic means group averages are spread apart relative to the score variation within each group.
- Post hoc tests are required after a significant ANOVA to determine which specific groups differ.
- For three groups and 63 observations, the degrees of freedom are 2 between and 60 within, giving a critical F value of 3.15 in the example.
Chapters
- A t-test compares two means, while ANOVA tests three or more means.
- The null hypothesis says the group means are equal; the alternative is that at least one differs.
- For three classes, ANOVA can detect an overall difference but does not identify which class differs.
- Between-group variation measures how far apart the class averages are; within-group variation measures the spread of scores inside each class.
- The F statistic is mean square between divided by mean square within, so a large F indicates between-class differences exceed ordinary within-class variation.
- A significant F test indicates that at least one mean differs; post hoc tests are needed to determine which groups differ.
- Mean square between is SSB divided by its degrees of freedom, K − 1; mean square within is SSW divided by n − K.
- With K = 3 classes and n = 63 students, the degrees of freedom are 2 between and 60 within.
- The F table gives a critical value of 3.15 for numerator df = 2 and denominator df = 60.
- Reject the null hypothesis when the calculated F exceeds 3.15; otherwise, fail to reject it.
Transcript excerpt
0:01 Now let's do analysis of variance. And where we build off of previous content, a t-test was useful for comparing two means. An ANOVA compares three or more means. And so we're going to get a null hypothesis in this case where we have sample one or group one, let's say, is going to be equal to group two. And because we're doing three or more, it has to be at least three. And then we have, depending on how many groups we have, our full null hypothesis. And then now the alternative hypothesis would just simply be
0:49 not equal to. And so one of them is going to be at least different enough that we can say we reject the null hypothesis or we fail to reject the null hypothesis that there is really no difference between the three or more means. So a t-test was good for telling us whether two means differ. Could be population versus a sample, like we did earlier. And then it was the two different independent groups. And then we had the two pairs, the before and after. ANOVA tells us if at least one mean differs from the others. Keyword others. And so I'm emphasizing others means there's going to be more than two, so
1:36 three or more. So let's imagine we have three different teachers in three different classes. So we've got class one, class two, and class three. And I want to know if their classes scored differently on a quiz. And of course, some kids in every class do better or worse than others. That's what we would call normal variation in the classes. Our question with ANOVA is, are the class farther apart than the normal messiness inside of the classes. So in other words, are one of these
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Andy Baker.