Skip to main content
Statistics LibreTexts

12: Analysis of Variance – ANOVA

  • Page ID
    57590
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    By the end of this chapter, you will be able to:

    • Know when to use an ANOVA
    • Understand the design setup for an ANOVA
    • Know when to use an ANOVA instead of multiple t-tests
    • Interpret an ANOVA result
    • Read a journal article that uses ANOVAs

    Key Terms

    • Assumptions of an ANOVA
    • ANOVA as a ratio
    • Post-hoc tests
    • Experimenter-wise error rate

    On to the ANOVA, or Analysis of Variance. Analysis of Variance is a term that describes a family of analyses. Statistics is about analyzing and understanding variance; suffice to say, it is probably accurate to say that Analysis of Variance is what statistics is all about.

    To begin, the purpose of the ANOVA is to analyze the variance of three or more groups on a single dependent variable. You are trying to detect if one group is higher or lower than the other two groups, or if the three or more groups are similar? The ANOVA contrasts with the independent t-test, which examines two groups only on a single dependent variable. Keep in mind that the two groups versus one group is not the best way to describe the difference between the ANOVA and the independent t-test. A better way to describe the difference is that the ANOVA examines variance, while the t-test examines mean scores. Because the ANOVA examines variance, it is a flexible statistical test that can be used for additional purposes, which will be described at the end of this chapter.

    • 12.1: When to Use the ANOVA
      This page discusses the Analysis of Variance (ANOVA), which compares means across three or more groups, often considering demographic differences. It establishes null and alternative hypotheses regarding mean scores. While ANOVA is effective for continuous dependent variables, analyzing ordinal outcomes with it is complex; logistic regression is suggested for ordinal interpretations.
    • 12.2: The Concept Behind Analysis of Variance
      This page discusses Analysis of Variance (ANOVA), a statistical method used to compare differences among groups by partitioning variance into true and error variance. It employs the F-test, which assesses the ratio of between-group to within-group variance to determine significance. A significant result is indicated when the F-test value exceeds established thresholds, such as 1.96 for the F-test and a p-value of .05, signaling notable differences among group means.
    • 12.3: - Interpreting the F-test and Post-Hoc Comparisons
      This page discusses the F-test, which identifies differences between groups without specifying which ones. It highlights the importance of post-hoc comparisons to pinpoint specific group differences, using adjusted t-tests to mitigate Type I error risks. Common post-hoc tests include Tukey, Sidak, and Bonferroni. Notably, a significant F-test does not ensure significant post-hoc results, suggesting that consulting a statistician may be necessary for proper interpretation.
    • 12.4: Commentary
      This page covers key ANOVA terminology and applications in statistical research, detailing interchangeable terms, independent variables (IVs), and factorial ANOVA distinctions. It discusses ANCOVA's role in controlling for covariates, the importance of theoretical foundations in selecting them, and differentiates between ANOVA and MANOVA usage.
    • 12.5: Reading Articles – ANOVA
      This page discusses the analysis of journal articles, emphasizing steps like identifying research questions and understanding statistical methods. It centers on a study by Erermis et al. (2004), which finds no significant link between obesity and psychological issues but notes that clinically obese adolescents exhibit higher aggression than their peers.
    • 12.6: Summary
      This page discusses ANOVA, a statistical method used to compare differences among three or more groups, applicable to various demographics and clinical populations. Although ANOVA may oversimplify complexity by clustering individuals, its comparisons, when grounded in sound concepts, can provide significant insights into the data.
    • 12.7: Discussion Questions
      This page explains the differences between t-tests and ANOVA, highlighting that t-tests compare means of two groups while ANOVA evaluates variances among three or more groups. ANOVA is favored to manage Type I error rates, and post-hoc tests help to identify specific group differences after significant ANOVA results. It also describes different types of t-tests, including independent, paired, one-sample, and two-sample, which cater to various comparison situations.


    This page titled 12: Analysis of Variance – ANOVA is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Peter Ji.