📊

ANOVA Variance and F Test

Aug 12, 2025

Overview

This lecture explains the core concepts behind variance in ANOVA and the F test statistic, focusing on the difference between variance between groups and variance within groups.

Types of Variance in ANOVA

  • Variance is split into two types: variance between groups and variance within groups.
  • The F test statistic in ANOVA is the ratio of variance between groups to variance within groups.
  • Variance between groups measures how different the sample means are from the overall mean.
  • Variance within groups measures variability inside each group, calculated from individual data points and their group mean.

Calculating Variance and F Statistic

  • Variance between groups: sum of squares between groups divided by degrees of freedom between groups.
  • Variance within groups: sum of squares within groups divided by degrees of freedom within groups.
  • Degrees of freedom for between groups: number of groups minus 1 (K-1).
  • Degrees of freedom for within groups: total number of data points minus the number of groups (N-K).
  • The total sum of squares is the sum of between-groups and within-groups sums of squares.

Interpreting the F Statistic

  • A large F value means variance between groups is much higher than variance within groups, suggesting significant differences between group means.
  • A small F value (close to or less than 1) suggests group means are similar and variance between groups is not much higher than within.
  • If the F statistic falls into the critical region (right tail), reject the null hypothesis; otherwise, fail to reject.
  • P-value interpretation: small p-value means significant difference; large p-value means no significant difference.

Key Terms & Definitions

  • Variance Between Groups — Measures how far sample means are from the overall mean.
  • Variance Within Groups — Measures spread of data within each group.
  • Sum of Squares — Sum of squared deviations used to compute variance.
  • Degrees of Freedom — Parameters based on number of groups (between) or number of data points minus groups (within).
  • F Test Statistic — Ratio of variance between groups to variance within groups in ANOVA.
  • ANOVA (Analysis of Variance) — Statistical method to compare means across multiple groups.

Action Items / Next Steps

  • Learn how to calculate the F test statistic using statistical software.
  • Review computer-generated ANOVA printouts to understand how variances and F are reported.