AP Statistics · Topic 3.6 · Reading guide, about 5 min

What a p-value really means

Null distributions, one- and two-sided p-values, simulated p-values and the correct way to interpret a p-value in context.

In one minute

The p-value is the single number that summarizes how well the data agree with the null hypothesis. It is also the most misunderstood number in introductory statistics. This topic builds the idea from a picture: a distribution that shows what outcomes are typical when the null hypothesis is true.

If you can describe what the p-value is a probability of, you can avoid the wording traps that cost points on the exam.

Key terms

Null distribution
The distribution of the test statistic or sample result across repeated samples, assuming H0H_0 is true.
P-value
The probability, computed assuming H0H_0 is true, of getting a result at least as extreme as the one observed, in the direction of HaH_a.
Extreme
Far from the null value in the direction (or directions) named by the alternative hypothesis.
Upper-tail area
The p-value for Ha ⁣:p>p0H_a\colon p > p_0; the area above the observed value.
Lower-tail area
The p-value for Ha ⁣:p<p0H_a\colon p < p_0; the area below the observed value.
Two-sided p-value
For Ha ⁣:p≠p0H_a\colon p \ne p_0; the area in both tails, found by doubling the one-tail area for a symmetric distribution.
Simulated p-value
The fraction of simulated results that are as extreme as the observed result or more.
Evidence for HaH_a
A small p-value says the data would be surprising under H0H_0, which supports the alternative.

The null distribution

Imagine the null hypothesis is true and you take many random samples of the same size. The sample proportions would pile up around p0p_0 with the spread you saw in 3.2, forming the null distribution. A sample result near p0p_0 is ordinary. A result in the far tail is rare under H0H_0. The p-value measures exactly how far into the tail your result sits.

Defining the p-value and picking the tail

The p-value is the probability, assuming H0H_0 is true, of getting a result at least as extreme as the one observed. "At least as extreme" depends on the alternative. For Ha ⁣:p>p0H_a\colon p > p_0, extreme means large, so the p-value is the upper-tail area. For Ha ⁣:p<p0H_a\colon p < p_0, it is the lower-tail area. For Ha ⁣:p≠p0H_a\colon p \ne p_0, extreme means far in either direction, so both tails count, and the two-sided p-value is twice the area in the tail beyond the observed value.

Which area gives the p-value
AlternativeP-value is
Ha ⁣:p>p0H_a\colon p > p_0Area above the observed result
Ha ⁣:p<p0H_a\colon p < p_0Area below the observed result
Ha ⁣:p≠p0H_a\colon p \ne p_0Area in both tails, beyond the observed value and its mirror image

A worked example

A game spinner is advertised as giving a win 25% of the time. A skeptical player records 80 spins (invented data) and wins 28 times, so p^=28/80=0.35\hat{p} = 28/80 = 0.35. Test H0 ⁣:p=0.25H_0\colon p = 0.25 against Ha ⁣:p>0.25H_a\colon p > 0.25, where pp is the long-run proportion of spins that win.

The null standard deviation is 0.25(0.75)/80=0.0023438≈0.04841\sqrt{0.25(0.75)/80} = \sqrt{0.0023438} \approx 0.04841. The standardized value is z=(0.35−0.25)/0.04841≈2.066z = (0.35 - 0.25)/0.04841 \approx 2.066. The upper-tail area above 2.066 is about 0.0194. So the p-value is about 0.019.

Interpretation: assuming the true winning proportion is 0.25, the probability of getting a sample proportion of 0.35 or higher in 80 spins is about 0.019. That is small, so these data would be quite surprising if the spinner really paid off 25% of the time, and we have convincing evidence that the true winning proportion is greater than 0.25.

If the alternative had been two-sided, Ha ⁣:p≠0.25H_a\colon p \ne 0.25, the p-value would double to about 0.039. If the alternative had been p<0.25p < 0.25, the p-value would be the lower-tail area, about 0.981, which is large; the data give no evidence for that direction. The same data produce different p-values under different alternatives, which is why the direction must be settled first.

P-values from simulation

When a normal model is awkward, simulate the null distribution. For the spinner, use technology to simulate 1,000 sets of 80 spins with a 25% win chance each, and record each p^\hat{p}. If 23 of the 1,000 simulated proportions are 0.35 or greater, the simulated p-value is 23/1000=0.02323/1000 = 0.023. This is close to the normal-model answer of 0.019. The two differ partly because a simulation varies from run to run and partly because the normal model is only an approximation; both lead to the same conclusion.

Interpreting a p-value always has the same three parts: assume H0H_0 is true, describe the chance of a result at least as extreme as the one observed, and state it in context. Then connect it to the evidence: small p-values support HaH_a, while large p-values mean the data give no convincing evidence for HaH_a. A large p-value does not show that H0H_0 is true.

How it connects

  • Back to 3.5: the direction of HaH_a decides which tail area you use.
  • Back to 2.12: a simulated null distribution is a sampling distribution built under H0H_0.
  • Forward to 3.7: the p-value is compared with α\alpha to make a decision.
  • Forward to 3.8: the Type I error probability is tied to the cutoff used on the p-value.

Common mistakes

  • **Saying the p-value is the probability that H0H_0 is true.** It is computed assuming H0H_0 is true; it is a probability about data, not about hypotheses.
  • **Reading a large p-value as proof of H0H_0.** It only means the data are consistent with H0H_0 and give no convincing evidence for HaH_a.
  • Forgetting to double for a two-sided alternative. Both tails count, so double the one-tail area.
  • Dropping the context. Mention the sample result, the null value, the sample size and what the proportion refers to.

How it shows up on the exam

  • A graph of a simulated null distribution with the observed value marked asks you to estimate the p-value and say what it means.
  • A short written task gives a p-value and asks you to interpret it, with a rubric for assuming H0H_0 and for the direction in context.
  • Multiple-choice items ask which interpretation of a p-value is correct, or which area on a curve is the p-value.

Check yourself

  1. What event does the p-value measure the probability of, and what is assumed when computing it?
  2. How does the p-value change when you switch from a one-sided to a two-sided alternative?
  3. A simulation gives 4 of 500 results as extreme as the observed one. What is the p-value estimate?
  4. Why can a large p-value never be used to claim that H0H_0 is true?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.