Skip to content

Drill 1: groups and designs

Eight short study descriptions. Name the method and why. The choices are mixed on purpose, because telling problems apart is the skill.

Applied ~10 min6 steps

What runs in CodeSplash

You will be able to

  • Choose a comparison method from a short description of a study
  • Spot paired, repeated and clustered designs in plain language

Read first

01

How to work a drill

Read

Read the study, not the options. Ask four questions in order, and only then look:

  1. What is the outcome type?
  2. How many groups or conditions?
  3. Are rows independent, or linked?
  4. Is there anything unusual: outliers, an ordered scale, clusters?

Spaced, mixed practice like this feels harder than practicing one test at a time. That difficulty is what makes it stick.

02

Round one

Checkpoint

Check yourself

Sixty mice are randomized to a new diet or a standard one. Weight gain looks roughly symmetric. Which fits best?

Show the answer

Answer: a

Two independent groups with a numeric outcome. Welch doesn't assume equal variances. ANOVA would also work mathematically, but post hoc tests have no role with two groups.

Check yourself

Thirty runners run 5 km in old and in new shoes, in random order. Which fits best?

Show the answer

Answer: b

Each runner appears twice, so analyze the within-runner difference. It removes large runner-to-runner variation.

Check yourself

Four teaching methods, with 25 different students each and a numeric test score. Variances may differ. Which fits best?

Show the answer

Answer: c

Several independent groups. Unadjusted t tests inflate the error rate, and Welch with Games–Howell handles unequal variances.

Check yourself

Twenty patients rate pain at baseline and at weeks 2, 4 and 8, on a 0–100 scale. Which fits best?

Show the answer

Answer: b

Same patients, several times. Watch the sphericity row, and consider a mixed model when visits are missing.

03

Round two

Checkpoint

Check yourself

Two independent groups rate a product from 1 to 5. Which is the most defensible?

Show the answer

Answer: b

An ordinal outcome and independent groups. Mann–Whitney uses order without assuming equal spacing, and its card reports a probability of superiority.

Check yourself

A hundred users answer "would you recommend us?" (yes or no) before and after a redesign. Which fits best?

Show the answer

Answer: c

A yes/no outcome measured twice on the same people. McNemar reads only the users who changed their answer.

Check yourself

Two groups of order values, with a heavy right tail and a few enormous orders. You want a stable comparison of typical orders. Which fits best?

Show the answer

Answer: b

Yuen resists heavy tails and allows unequal variances. Be clear about the changed estimand, or add a bootstrap on means if the total matters.

Check yourself

Thirty schools are randomized to a new curriculum, with test scores for 2,000 students. Which fits best?

Show the answer

Answer: b

The school is the unit of assignment. Ignoring that treats clustered students as independent and overstates certainty.

04

One more, with a twist

Predict

Predict first

Twelve judges rank the same five wines. You want to know whether the wines differ. What is your starting point?

Repeated-measures ANOVAFriedman testPaired t tests
Reveal

Friedman. Ranks within each judge make the judge a block, and the data are ordinal. Follow a significant result with its own pairwise procedure, such as Nemenyi.

05

Check with the real thing

In the app

Take the study closest to your own work, and describe it to the Test Chooser. Bind the outcome, group and subject columns, and see whether it lands where you did. When you disagree, read the reason it gives.

06

Recap

Recap
  • Outcome type, number of groups and how rows relate decide most comparisons.
  • Hunt for linkage: repeat visits, matched subjects, shared classrooms.
  • Name the changed estimand when you take a robust or rank-based route.