Skip to main content

Pairwise comparisons

Pairwise comparisons are follow-up tests in Intro to Statistics that compare two group means at a time, usually after a significant ANOVA, to find which groups differ.

Last updated July 2026•Fiveable Content Team

What are pairwise comparisons?

Pairwise comparisons are the follow-up comparisons you make in Intro to Statistics when you want to see which specific group means differ from each other. Instead of asking, "Is there some difference somewhere?" like ANOVA does, pairwise comparisons ask, "Which two groups are different?"

They usually come after a significant one-way ANOVA. That matters because ANOVA is an omnibus test, so it tells you whether at least one mean is different, but it does not point to the exact groups. Pairwise comparisons fill in that missing detail by comparing each pair of group means, such as Group A vs. Group B, Group A vs. Group C, and Group B vs. Group C.

The tricky part is that doing many comparisons increases the chance of a false positive. If you test lots of pairs with the same alpha level, you make it easier to find a "significant" difference just by random chance. That is why pairwise comparisons often use a correction for multiple comparisons, such as Tukey's HSD or a Bonferroni adjustment, to keep the overall Type I error rate under control.

A small example makes this easier to see. Suppose a professor compares exam scores across three teaching methods and ANOVA says the group means are not all the same. Pairwise comparisons can then show whether Method 1 differs from Method 2, whether Method 1 differs from Method 3, and whether Method 2 differs from Method 3. You might find that only one pair is significant, which gives you a much clearer story than ANOVA alone.

When you read the results, look at the p-values and the confidence intervals for each pair. A small p-value suggests a difference between those two means, and a confidence interval that does not include 0 usually points to the same conclusion. If the interval is wide, the estimate is less precise, so it is worth paying attention to how strong the evidence actually is, not just whether the result crosses a cutoff.

Why pairwise comparisons matter in Intro to Statistics

Pairwise comparisons are the part of one-way ANOVA that turns a broad result into a usable conclusion. If ANOVA says "something is different," pairwise comparisons show where the difference is, which is the part you usually care about when you are comparing treatments, teaching methods, study conditions, or any other set of group means.

They also teach one of the biggest ideas in statistics: more tests means more chances to make a mistake. In Intro to Statistics, this is where you see why statisticians adjust alpha or use post hoc procedures instead of running a pile of plain t-tests. That connection shows up again and again in hypothesis testing, especially when you compare more than two groups.

This term also helps you interpret output from statistical software. Tables with adjusted p-values, confidence intervals, and method names like Tukey's HSD are common in homework and labs. If you can read those results, you can explain not just whether the data matter, but exactly how the groups compare.

Keep studying Intro to Statistics Unit 13

Official unit cheatsheet

open one-pager

How pairwise comparisons connect across the course

One-Way ANOVA

One-way ANOVA is usually the starting point, because it checks whether at least one group mean differs across three or more groups. Pairwise comparisons come after that when the overall test is significant and you need to find the specific differences. Without ANOVA, doing every pair separately can inflate your error rate fast.

Post Hoc Tests

Pairwise comparisons are often done through post hoc tests, which are follow-up procedures after ANOVA. These tests handle the multiple-comparisons problem in different ways, so the name of the procedure matters when you read results. If your output says Tukey's HSD, that is one specific post hoc method for pairwise comparisons.

multiple comparisons

This is the main statistical issue pairwise comparisons create. Every extra comparison raises the chance of finding a false positive, so the total error rate can get larger than your chosen alpha. The whole point of adjustment methods is to keep the set of pairwise tests fair, not just each one individually.

Alpha Level

Your alpha level is the cutoff for deciding whether a result is statistically significant, usually 0.05 in intro stats. With pairwise comparisons, that cutoff may be adjusted so you do not treat random variation as real evidence. Reading the adjusted p-values against alpha is how you decide whether a pair differs.

Are pairwise comparisons on the Intro to Statistics exam?

A quiz or homework problem will usually give you ANOVA output, a table of group means, or a post hoc results table and ask which groups are different. Your job is to read the adjusted p-values or confidence intervals for each pair, then name the specific group comparisons that are significant. If the overall ANOVA is not significant, you usually stop there and do not claim pairwise differences. In a written response, you should also mention why multiple-comparison adjustment is needed, since that is the logic behind the follow-up test. If a table uses Tukey's HSD, Bonferroni, or another post hoc method, treat that as the tool being used to protect the error rate while comparing pairs.

Pairwise comparisons vs multiple comparisons

Multiple comparisons is the broader issue of testing many group differences and risking extra Type I errors. Pairwise comparisons are one common way to carry out those comparisons, usually with an adjustment. So one is the problem, and the other is the procedure you use to handle it.

Key things to remember about pairwise comparisons

  • Pairwise comparisons compare two group means at a time, usually after a one-way ANOVA finds that not all means are equal.

  • They tell you which specific groups differ, not just whether there is some difference somewhere in the data.

  • Because many pairwise tests raise the chance of a false positive, the results are usually adjusted for multiple comparisons.

  • Adjusted p-values and confidence intervals are the main things to read when you interpret the output.

  • If the overall ANOVA is not significant, pairwise comparisons usually are not the next step.

Frequently asked questions about pairwise comparisons

What is pairwise comparisons in Intro to Statistics?

Pairwise comparisons are follow-up tests that compare two group means at a time. In Intro to Statistics, they usually come after a significant one-way ANOVA so you can see which specific groups differ. They are often reported with an adjustment for multiple comparisons.

Why do you do pairwise comparisons after ANOVA?

ANOVA only tells you that at least one mean is different, not which means are different. Pairwise comparisons break the result into specific two-group checks. That gives you the exact source of the difference while still controlling the overall error rate.

Are pairwise comparisons the same as multiple comparisons?

Not exactly. Multiple comparisons is the general problem of doing many statistical tests on the same set of groups. Pairwise comparisons are one common way to compare the groups, and they usually need a multiple-comparison correction so the results stay trustworthy.

How do you interpret a pairwise comparisons table?

Look at each pair's adjusted p-value and, if provided, its confidence interval. A p-value below your alpha suggests those two means differ, and a confidence interval that does not include 0 usually points the same way. Do not ignore the adjustment method, because it changes how strict the comparison is.