Mechanism

  • ANOVA determines whether the groups created by the levels of the independent variable are statistically different by calculating whether the means of the treatment levels are different from the overall mean of the dependent variable.
  • If any of the group means is significantly different from the overall mean, then the null hypothesis is rejected.
  • ANOVA uses the [[F test]] for statistical significance
  • This allows for comparison of multiple means at once, because the error is calculated for the whole set of comparisons rather than for each individual two-way comparison (which would happen with a t test)
  • Output of t test goes as an input for [[F test]].
  • The F test compares the Career/Data Science/02 Math/02 Inferential statistics/Tradeoffs/Variance in each group Mean from the overall group variance.
  • If the variance within groups is smaller than the variance between groups, the F test will find a higher F value, and therefore a higher likelihood that the difference observed is real and not due to chance.