What a p Value Means
Step 1 of 8

The question a p value answers

Suppose an instructor wants to know whether retrieval practice (quizzing yourself) beats rereading. Forty students are randomly split: 20 use retrieval practice and 20 reread. Everyone takes the same quiz. Scores vary a lot from student to student, with a standard deviation of about 10 points.

Press the button to run the study. Each dot is one student.

The two group averages differ. But they would differ a little even if the learning method did nothing at all, because each group is a random handful of students. The p value asks one narrow question:

If the learning method truly made no difference, how often would random sampling alone produce a gap at least this big?

Imagine running this exact study thousands of times in a world where the learning method makes no difference, and recording the gap (as a t statistic) each time. Most gaps land near zero and big ones are rare. The curve below is the outline of that pile of results. The shaded tails hold the share of those imaginary studies with a gap at least as big as yours, and that share is the p value.

Notice what the p value assumes: it is calculated inside a world where the null hypothesis is true. It tells you how surprising your data would be in that world. It does not tell you whether you are in that world.