Video summary

ANOVA Part 2: Dealing with Intersectional Groups: Crash Course Statistics #34

Main summary

Key takeaways

Educational

Main Ideas

Many observations belong to multiple groups at once. For example, a car can be grouped by manufacturer and color, while an olive-oil rating can be grouped by the taster’s expertise and the bottle style. These grouping variables may have separate effects or interact.

Factorial ANOVA extends ordinary ANOVA to examine multiple grouping variables in one model. In the car example, the model considers manufacturer and color as predictors of price. It separates the dataset’s total variation into portions associated with the variables and unexplained error.

Main Effects and Statistical Significance

A main effect is the effect of one grouping variable considered on its own, such as manufacturer or bottle style.

ANOVA uses F-statistics to compare the variation attributed to an effect with the variation attributed to error. The resulting p-values help assess statistical significance. However, a statistically significant result is not necessarily practically important: a detectable price difference, for instance, might be too small to matter to a buyer.

Effect Size and Eta Squared

Effect sizes describe the magnitude of an effect, rather than just whether it is statistically significant. The video introduces eta squared, calculated as the sum of squares for an effect divided by the total sum of squares:

[ \eta^2 = \frac{\text{effect sum of squares}}{\text{total sum of squares}} ]

Eta squared ranges from 0 to 1 and estimates the proportion of total variation accounted for by an effect. The video describes it as analogous to (R^2). It can also be calculated for the entire model to show how much variation all included factors account for. The remaining variation may be due to omitted variables or error.

Whether an effect size is useful in practice depends on the context and the analyst’s judgment.

Interactions

An interaction occurs when the effect of one factor depends on another factor. For example, color might have little effect on the price of some manufacturers’ cars but matter more for another manufacturer.

A two-way ANOVA examines two factors and can include an interaction term. In the olive-oil example, tasters are grouped by expertise (expert or novice) and bottle style (fancy or plain). The interaction asks whether bottle style affects experts and novices differently.

To isolate interaction variation, the model considers the variation among the four factor combinations, then separates out the variation explained by each factor’s main effect.

An interaction plot can help visualize the pattern:

  • Roughly parallel lines suggest little or no interaction.
  • Lines with different slopes suggest that the effect of one factor varies across levels of the other.

In the example, experts rate oil from fancy and plain bottles similarly, while novices rate oil from fancy bottles more highly. The ANOVA results show that neither expertise nor bottle style alone is significant, but their interaction is. The interaction accounts for about 9.14% of the total variation in ratings.

A significant interaction can change how main effects should be interpreted. The allergy-medication example illustrates that a medication may help people on average but work differently depending on whether they have a particular gene. Reporting only the average main effect could therefore be misleading.

Practical Takeaway

Use models with multiple grouping variables when observations can be classified in overlapping ways. Check both the main effects and possible interactions, interpret statistical significance alongside effect size, and consider whether the results matter in the real-world context.

In the olive-oil example, the data suggest that fancy bottles may appeal more to novices, even though experts are not influenced by the packaging.

Speakers and Sources

  • Speaker/presenter: Adriene Hill
  • Statistical tools mentioned: R, Python, and Excel, as examples of software that can produce an ANOVA table
  • Examples discussed: Hypothetical car-price, olive-oil-tasting, and allergy-medication scenarios

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video