โ† View in Interactive Graph

0. ANOVA

๐Ÿง  What is ANOVA?

Analysis of Variance (ANOVA) is a statistical method used to compare means across multiple groups to determine if observed differences are due to actual effects or random variation.

๐Ÿ”ฌ Mathematical Foundation

ANOVA is based on variance decomposition: - Total variance = variance between groups (treatment effect) + variance within groups (random error) - It uses the F-statistic to assess whether the between-group variance is significantly greater than within-group variance.

Assumes: - Data is normally distributed - Equal variances across groups


๐Ÿ“ One-Way ANOVA

Hypotheses:

Application:

Use when testing one factor like: - Teaching methods - Drug dosages - Machine settings


๐Ÿ“ Two-Way ANOVA

Tests Three Hypotheses:

  1. Effect of Factor A (e.g., fertilizer)
  2. Effect of Factor B (e.g., watering)
  3. Interaction between A and B

Application:

Use when two variables may interact, e.g.: - Teaching method ร— class size - Drug type ร— gender


๐Ÿ” Differences Between One-Way and Two-Way ANOVA

Feature One-Way ANOVA Two-Way ANOVA
Factors 1 2
Interaction Test โŒ No โœ… Yes
Complexity Lower Higher
Example Diet type effect Diet ร— Exercise interaction effect

๐Ÿงช How ANOVA Works in Practice

  1. Define hypotheses (equal means vs. differences).
  2. Calculate between-group and within-group variance.
  3. Compute F-statistic.
  4. Compare with F-table critical value.
  5. If significant โ†’ reject H_0, investigate further (e.g., post-hoc tests).

๐Ÿง  When to Use


Tags: #math #statistics