← Chapter 12
Statistics · Chapter 12

Which Test?

By now you have more machinery than any single problem needs, and the skill that actually matters is no longer running a test — software runs tests instantly, and it will run the wrong one for you just as fast. The skill is looking at a study and recognising which test the design has already chosen. Most of that decision is settled before a single number is computed: what you measured on each subject, and whether the two columns are linked subject by subject. Only the last question is about the numbers themselves, and even that one can be answered by looking. Below, seven real studies come through the door. For each you answer the tree’s questions, watch your path light up, and then see the test at the end of your path run on the actual data — side by side with the test you would have reached by answering differently. The two p‑values are never the same. Sometimes they are not even on the same side of 0.05.

The decision tree

Three questions, seven destinations. The first two are about the study, not the data — no amount of staring at the numbers will tell you whether the same person appears in both columns. Only the third question is answered by looking at what you collected, and the panels below hand you the evidence for it. Your path lights up as you answer; if it ends somewhere the design does not support, the tree will say so rather than quietly returning a number.
the path your answers took where the design actually leads branches not taken

The data in front of you

Which test?pick a study to begin

A study comes through the door

Seven designs, one per destination on the tree. Read the description before you touch a button — the first two answers are hiding in the sentence, not in the spreadsheet.

Walk the tree

What to carry out of this section

  • Two of the three questions are answered by the methods section, not the data. What was measured on each subject, and whether the same subject appears in both columns, are facts about how the study was run. A spreadsheet of numbers cannot tell you either one.
  • The software will never object. Hand paired data to an independent test and you get a p‑value. Hand a 2 × 2 table with a cell of one to a chi‑square and you get a p‑value. Choosing the test is your job precisely because nothing downstream checks it.
  • Ordinal is not numeric. A rating scale gives you order without equal spacing, so the mean of those ratings is not a defensible quantity even when the arithmetic runs. Rank-based tests ask a question the scale can actually support.
  • Exact when small, approximate when large. Fisher’s exact test and the exact binomial version of McNemar’s test enumerate the possibilities instead of leaning on a normal curve. That matters exactly when the counts are too thin for the curve to be trustworthy.
  • A small p‑value is a statement about data, not about the truth of a hypothesis. It is the probability of a result at least this extreme if nothing were going on. It is never the probability that nothing is going on, and it never upgrades an observational comparison into a cause.