Track T8
Comparing Groups
t tests, ANOVA, rank tests, post hoc and equivalence.
Unit 1One and two groups
- 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.
- 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.
- 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.
Unit 2Beyond the t test
- 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.
- 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.
- 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.
- 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.
- 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.
Unit 3Several groups
- 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.
- 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.
- 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.
- 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.
Unit 4After the omnibus test
- 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.
- 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.
- 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.
Unit 5Richer designs
- 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.
- 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.
- 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.
- 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.
- 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.
Unit 6Spread
- 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.
- 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.
Unit 7Equivalence and small effects
- 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.
- 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.