Skip to content

Track T8

Comparing Groups

t tests, ANOVA, rank tests, post hoc and equivalence.

Unit 1One and two groups

· 3 lessons
  1. 1One mean against a targetIs this mean compatible with a target value? Meet the one-sample t test, and the rarer z test you use when the population spread is known.Introductory · 9 min
  2. 2Welch or Student? Comparing two meansTwo t tests answer the same question; one assumes equal variances. Learn why Welch is the safer default and how the libraries' defaults differ.Applied · 10 min
  3. 3The same people twice: the paired t testWhen each value has a partner, test the differences. Pairing removes the variation between people, which can change your answer completely.Introductory · 9 min

Unit 2Beyond the t test

· 5 lessons
  1. 4Mann–Whitney: what a rank test really testsThe rank sum test compares how often one group beats the other. It is not a test of medians, and that distinction changes how you report it.Applied · 11 min
  2. 5When shapes differ: Brunner–Munzel and Fligner–PolicelloMann–Whitney assumes the two distributions behave alike under the null. These two tests drop that assumption, as Welch does for means.Applied · 9 min
  3. 6Pairs without normality: sign and signed-rank testsTwo tests for paired differences, one using only the direction of each change and one using the ranks of its size too.Applied · 9 min
  4. 7Trimmed means and Yuen's testHeavy tails blow up the variance and rob a t test of power. Yuen's test compares trimmed means, and changes the question slightly to answer it better.Applied · 9 min
  5. 8Permutation tests: let the design make the nullRandomization gives you a reference distribution with no formula at all. Learn what makes a permutation test valid and how the Monte Carlo version works.Applied · 9 min

Unit 3Several groups

· 4 lessons
  1. 9One-way ANOVA: splitting the variationWhy comparing many means works by comparing two variances, what the F statistic measures, and what it can't tell you.Introductory · 11 min
  2. 10ANOVA without equal variancesWelch's ANOVA, Brown–Forsythe's F*, Alexander–Govern and trimmed-means ANOVA, and how to choose among them before you see the data.Applied · 11 min
  3. 11Kruskal–Wallis and other score testsReplace values with scores, then run one test. Different scores suit different shapes, from Mood's median test to van der Waerden and Savage.Applied · 10 min
  4. 12Testing for a trend across ordered groupsWhen doses or levels have an order, an omnibus test wastes it. Jonckheere–Terpstra, Cuzick, Chacko and Mack–Wolfe aim at the pattern you expect.Advanced · 10 min

Unit 4After the omnibus test

· 3 lessons
  1. 13Which groups differ? Tukey, Dunnett, Scheffé and LSDThe family of comparisons decides how much of a penalty you pay. Match the procedure to what you want to know.Applied · 11 min
  2. 14Pairwise comparisons with unequal spreadsGames–Howell, Tamhane T2, Dunnett T3 and Ury–Wiggins–Hochberg all use Welch's standard error for each pair. They differ in how they control the family.Applied · 9 min
  3. 15Rank-based follow-ups after Kruskal–WallisDunn, Conover–Iman and Nemenyi share one joint ranking. Dwass–Steel–Critchlow–Fligner and Steel re-rank each pair. That choice has consequences.Applied · 9 min

Unit 5Richer designs

· 5 lessons
  1. 16Two factors at once: main effects and interactionsA factorial design tests whether one factor's effect depends on the other. Read the interaction first, because it changes what the main effects mean.Applied · 12 min
  2. 17Adjusting for a covariate with ANCOVAA covariate can sharpen a randomized comparison. It can't rescue groups that differ in ways you never measured, and it can answer a question nobody asked.Applied · 11 min
  3. 18Repeated measures and sphericityMeasuring each subject repeatedly removes differences between subjects, but adds an assumption about how the differences behave. Learn to read Mauchly's test and the corrections.Applied · 12 min
  4. 19Blocks without normality: Friedman and QuadeRank within each subject and test the rank sums. Friedman treats every subject alike; Quade gives more weight to subjects who vary more.Applied · 10 min
  5. 20Ordered, incomplete and replicated blocksReal blocks are messy. Page tests a planned order; Durbin and Skillings–Mack handle gaps; Mack–Skillings and Gore handle replicates. CodeSplash can pick from the layout.Advanced · 11 min

Unit 6Spread

· 2 lessons
  1. 21Comparing spreads: classical variance testsSometimes spread is the question itself. Learn the F, Bartlett, Hartley and Cochran tests, why they fear non-normality, and why Levene-type tests travel better.Applied · 12 min
  2. 22Rank tests of spreadSix tests score how far each rank lies from the middle. Most assume the groups share a center, and getting that wrong makes them test location by accident.Advanced · 9 min

Unit 7Equivalence and small effects

· 2 lessons
  1. 23Showing two things are close enough with TOSTA large p-value doesn't show the absence of an effect. Equivalence testing asks directly whether the effect lies inside bounds you chose in advance.Applied · 12 min
  2. 24Beyond zero: minimal effects and non-inferiorityWith enough data, tiny effects become significant. A minimal-effect test asks whether the effect is big enough to matter, and non-inferiority asks whether it's not too much worse.Applied · 9 min