Skip to main content
Statistics LibreTexts

13.6: Choosing the Correct Analysis- Mean Comparison Edition

  • Page ID
    17406
  • \( \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}\)

    It's time to step back for a second and reflect on all that you've learned!

    Even though this is a statistics course, you've actually learned a lot about research design.  You've learned that participants can be different in the different groups or levels of the IV (independent or between groups designs), or they can be the same people or somehow linked together (dependent or repeated measures designs).  You've learned that we can compare the means for one IV with two or more groups, or even statistically compare the means of more than one IV.  It was sorta hidden, but we also talked about factorial designs that could have one IV that was independent and a second IV that is dependent; this is called a mixed designed.

    We've almost exclusively focused on DVs that are means (quantitative variables), but sometimes mentioned ranked DVs (ordinal variables) when discussing non-parametric analyses.  

    Knowing the design of the IVs and DV determines what kind of statistical analysis that you use.  So far, we’ve covered several ways to compare the mean of groups:

    • One-sample t-test
    • Independent t-test
    • Dependent t-test
    • Between Groups ANOVA
    • Repeated Measures ANOVA

    And these compare the ranks of groups: 

    • Mann-Whitney U
    • Wilcoxon Match-Pair Signed-Rank test
    • Kruskal-Wallis H
    • Friedman’s test

    So when would you use which one?  It depends!  It depends on:

    • The type of DV (qualitative or quantitative or ranked/ordinal)
    • The number of groups
    • Whether the groups are independent or dependent or the population

    This Decision Tree handout is a great resource for making that decision.  I encourage you to save this document for your future classes.  You can use it now to go through the analyses that we’ve learned so far to see why we use them when we use them.  Pay attention to the names, they tell you a lot about why they are used when they are used.

    Example \(\PageIndex{1}\)

    Identify the type of DV, number of groups, and type of groups for the analyses that we’ve learned so far:

    • One-sample t-test
    • Independent t-test
    • Dependent t-test
    • Between Groups ANOVA
    • Repeated Measures ANOVA
    • Mann-Whitney U
    • Wilcoxon Match-Pair Signed-Rank test
    • Kruskal-Wallis H
    • Friedman’s test

    Solution

    • One-Sample t-test
      • The type of DV:         Compares means, so quantitative
      • The number of groups:          Compares a sample to the population
      • Whether the groups are independent or dependent or the population:           The population
    • Two-sample independent t-test
      • The type of DV:         Compares means, so quantitative
      • The number of groups:          Compares two samples
      • Whether the groups are independent or dependent or the population:           Independent (unrelated)
    • Two-sample dependent t-test
      • The type of DV:         Compares means, so quantitative
      • The number of groups:          Compares two samples
      • Whether the groups are independent or dependent or the population:           Dependent (related)
    • Between Groups ANOVA
      • The type of DV:         Compares means, so quantitative
      • The number of groups:          Compares two or more levels of an IV
      • Whether the groups are independent or dependent or the population:           Independent (unrelated)
    • Repeated Measures ANOVA (also called Within Groups ANOVA)
      • The type of DV:         Compares means, so quantitative
      • The number of groups:          Compares two or more levels of an IV
      • Whether the groups are independent or dependent or the population:           Dependent (related)
    • Mann-Whitney U
      • The type of DV:         Ranked data, or we assume that the distribution is NOT normally distributed.
      • The number of groups:          Compares two groups
      • Whether the groups are independent or dependent or the population:           Independent (unrelated)
    • Wilcoxon Match-Pair Signed-Rank test
      • The type of DV:         Ranked data, or we assume that the distribution is NOT normally distributed.
      • The number of groups:          Compares two groups
      • Whether the groups are independent or dependent or the population:           Dependent (related)
    • Kruskal-Wallis One-Way ANOVA
      • The type of DV:         Ranked data, or we assume that the distribution is NOT normally distributed.
      • The number of groups:          Compares two or more groups
      • Whether the groups are independent or dependent or the population:           Independent (unrelated)
    • Friedman’s test
      • The type of DV:         Ranked data, or we assume that the distribution is NOT normally distributed.
      • The number of groups:          Compares two or more groups
      • Whether the groups are independent or dependent or the population:           Dependent (related)

    You might notice that all these have quantitative (or ranked) DVs with two or more groups.  That’s what this unit is about!  In the next set of chapters, we’ll learn about the appropriate analyses when the DVs aren’t means. 

    Because this is an introductory textbook, we leave out a full discussion other analyses of means, and particularly of mixed designs. In this chapter, in particular, we are leaving out are the formulas to construct the Sum of Squares for each effect. There are many good more advanced textbooks that discuss these issues in much more depth. And, these things can all be found online. 

    Here’s an interactive website to help you practice when to use which kind of statistical analysis.  To start, click on the kinds of analyses that you are familiar with, then hit Submit.

    Contributors and Attributions

    This page was extensively adapted by Michelle Oja (Taft College) from work by Matthew J. C. Crump (Brooklyn College of CUNY)


    This page titled 13.6: Choosing the Correct Analysis- Mean Comparison Edition is shared under a CC BY-SA license and was authored, remixed, and/or curated by Michelle Oja.

    • Was this article helpful?