The Hong Kong Polytechnic University · FACULTY OF STATISTICS

BB2025 Chap.5 Comparing Groups with t Tests and ANOVA

- one subject, every graph, every model, every mark
8 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 5 of 10 · BB2025

Comparing Groups with t Tests and ANOVA

Select the comparison from structure

For continuous outcomes, the route depends on how many conditions are compared and whether observations are independent or linked. Independent t procedures compare unrelated groups. Paired procedures analyse within-pair differences.

One-way ANOVA evaluates whether several population means can share one value, while repeated-measures ANOVA preserves multiple observations from the same unit. Rank-based procedures offer different estimands when mean-based assumptions are unsuitable.

Describe before testing

Print sample sizes, centres, spreads and the direction in which higher values should be read.

Inspect extreme observations, balance and dependence. Parametric robustness is a reasoned judgement about the estimator and sample, not permission to ignore a coding error or an outcome whose scale makes the mean misleading.

Use the omnibus result correctly

A significant F statistic says that not all means are equal. It does not identify the groups that differ or establish a ranking.

Planned contrasts or adjusted pairwise comparisons provide the local estimates and intervals. Repeated measures add assumptions about within-person covariance and require attention to time order, carryover and missing visits.

In this chapter

What this chapter covers

  • 01

    Independent and paired observations

  • 02

    Difference scores and sign conventions

  • 03

    Independent and paired t procedures

  • 04

    Welch and pooled variance routes

  • 05

    One-way omnibus ANOVA

  • 06

    Repeated-measures ANOVA

  • 07

    Planned contrasts and multiplicity

  • 08

    Rank-based comparison methods

Worked example · free

Calculate a paired mean change

Q [8 marks]. AskSia-authored practice. Before-minus-after pain changes for six participants are 2, 1, 2, 0, 3 and 1. Calculate the mean change, choose the comparison structure and limit the conclusion. The marks are an AskSia study weighting, not a university marking scheme.
The horizontal split is dependence.The horizontal split is dependence. The left boxes compare different people, while the right boxes preserve pairing or repeated observation within the same unit. Select from outcome, groups and dependence Two independent groupsindependent t or rank-sum Two linked measurespaired t or signed-rank Three or more groupsone-way ANOVA or Kruskal Three or more timesrepeated ANOVA or Friedman
The horizontal split is dependence. The left boxes compare different people, while the right boxes preserve pairing or repeated observation within the same unit.
  • 2Identify linked observations and define the sign.
  • 3Sum and average the difference scores.
  • 3Interpret the observed change and design limitation.
The values are linked within participants, so the analysis should use the six difference scores. Their sum is 9 and the mean is 9 divided by 6, or 1.5 pain points. Because before minus after was used, positive values indicate improvement. The sample shows average change, but without an appropriate comparison group it cannot distinguish programme effect from natural recovery, concurrent care or repeated measurement.
Sia tip — Write the subtraction order and favourable direction before computing any paired difference.
Glossary

Key terms

Independent Samples
Observations contributed by unrelated units whose errors can be treated as separate under the design.
Paired Samples
Linked observations from the same or deliberately matched units analysed through their within-pair relationship.
Welch Test
A two-group mean comparison that does not require equal population variances.
Omnibus Test
A global comparison assessing whether a set of population means or distributions can share one value.
Planned Contrast
A pre-specified linear comparison among group means that represents a scientific question.
Sphericity
A repeated-measures condition concerning equality of variances among pairwise difference scores.
FAQ

Comparing Groups with t Tests and ANOVA FAQ

How do I decide between an independent and paired test?

Ask whether each value in one condition has a meaningful link to one value in the other. Repeated measures from the same participant and deliberately matched pairs are linked; separate treatment groups are independent. Pairing changes the unit of analysis to the within-pair difference, so it must come from the design rather than convenience.

Why not run several t tests instead of ANOVA?

Each unadjusted pairwise test creates another opportunity for a false rejection across the family. ANOVA supplies one global test of equal means, after which planned contrasts or adjusted pairwise comparisons address the specific differences. The omnibus result alone still does not identify which pairs differ, so both stages have distinct roles.

When should I use a non-parametric alternative?

Consider the outcome scale, extreme observations, sample size, distribution of the relevant values and the estimand. Rank-based tests are useful when a mean-based model is poorly supported, but they do not simply reproduce the same question without assumptions. State whether the conclusion concerns ranks, distributions or a location shift under additional shape conditions.

Study strategy

Exam move

For every group-comparison scenario, write three items before naming a test: outcome scale, number of conditions and independence or linkage. Compute one paired difference set by hand so the sign convention is secure. For ANOVA output, use a fixed sequence: group summaries, omnibus F with degrees of freedom, effect size, planned or adjusted contrasts and the design limitation.

Review rank-based procedures by writing the estimand they support rather than treating them as automatic fallbacks. Make a small decision table that pairs each design with its parametric route, rank-based route and target quantity. When practising post-hoc output, hide the significance column and interpret estimates and intervals first. This stops a threshold from replacing group direction, effect size and clinical relevance.

Add the multiplicity method only after naming the planned family of comparisons. Redraw one repeated-measures question as a difference column and one independent question as two group columns. The layout itself should reveal why their standard errors differ. For a three-group result, write the omnibus question and each contrast question on separate lines.

State which answer is supported by the F test and which requires a comparison. This prevents a global difference from being assigned to an untested pair.

Working through Comparing Groups with t Tests and ANOVA in BB2025? Sia is AskSia’s AI Statistics tutor — ask any BB2025 Comparing Groups with t Tests and ANOVA question and get a clear, step-by-step explanation grounded in how BB2025 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 8 of your The Hong Kong Polytechnic University subjects - and 1,000+ Bibles across every Australian university.
Sia - your BB2025 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works