3.6 - p-Values
Overview
Every hypothesis test asks the same question: if the null hypothesis were true, how surprising would our sample be? The -value is the number that answers it. This topic covers what a -value is, how to find one from a normal model or from a simulation, and how to interpret it in context, which the AP exam asks for often.
The null distribution
A test starts by assuming the null hypothesis is true. Under that assumption, the test statistic has a probability distribution, called the null distribution. It shows every value the test statistic could take in repeated random samples, and how likely each one is, if were true.
For a one-sample -test for a population proportion, the test statistic is a -score that measures how far the sample proportion is from the null value (Topic 3.7 shows how to calculate it). When is true and the conditions are met, its null distribution is approximately standard normal: centered at with a standard deviation of .
Why we need it: a sample proportion that differs from might be nothing more than sampling variability. The null distribution tells us how much random variation to expect when is true, so we can judge whether our result is ordinary or unusual.
What a -value is
The -value is the probability of getting a test statistic as extreme as or more extreme than the one observed, assuming the null hypothesis is true. "More extreme" means farther in the direction of the alternative hypothesis.
Three parts of that definition do real work:
- "Assuming is true": the -value comes from the null distribution, so it is calculated as if .
- "As extreme or more extreme": the -value is a tail area. It is not the probability of getting exactly the value you observed.
- "In the direction of ": the alternative hypothesis decides which tail (or tails) you use.
Which tail? Let the alternative decide
Let stand for the observed value of the test statistic (a number like ). The -value is:
Alternative hypothesis | -value | Area you find |
at or above (right tail) | ||
at or below (left tail) | ||
beyond and (both tails) |

For a two-sided test, the standard normal curve is symmetric, so the two tails have equal area and the -value is .
Example 1: One test statistic, three -values
A test of gives a test statistic of . Find the -value for each possible alternative.
If : shade the right tail.
If : shade the left tail, everything at or below .
That -value is huge because the sample landed on the wrong side. The alternative says is below , but a positive means the sample proportion was above . Data on the opposite side give no evidence at all for .
If : shade both tails.
Answer: The same gives a -value of , , or depending on the alternative. That's why you always write before you find the -value.
-values from a simulation
Sometimes there's no formula for the null distribution, or you want to see it directly. Then you simulate it: generate many samples assuming is true, calculate the statistic for each one, and plot the results. The -value is the proportion of simulated values that are as extreme as or more extreme than the observed value:
- If uses : the proportion of simulated values at or above the observed value.
- If uses : the proportion of simulated values at or below the observed value.
- If uses : the proportion at or below plus the proportion at or above . When the simulated statistic is instead of , this means counting values at least as far from as the observed , in either direction.
Example 2: Orange candies
A candy company says 20% of its candies are orange. Maya thinks the true proportion is higher. She buys a bag of 60 candies (assume it acts like a random sample of the company's candies) and finds 18 orange ones, so .
Her hypotheses are and , where is the true proportion of all the company's candies that are orange. To see whether is surprising, she uses a computer to simulate 100 bags of 60 candies, assuming . Each dot is the proportion of orange candies in one simulated bag.

Step 1: The alternative uses , so count the simulated values at or above the observed . There are 4 of them (two at , one at about , and one at about ).
Step 2: The -value is the proportion of simulated values in that tail.
Step 3: Interpret it. Assuming the true proportion of orange candies is , there is about a probability of getting a sample proportion of or higher in a bag of 60 candies just by chance.
Answer: A -value of about is small. A bag like Maya's would be unusual if only 20% of the candies were orange, so her bag gives evidence that the true proportion of orange candies is greater than .
A simulation only estimates the -value. The binomial probability of 18 or more orange candies in 60 is about , and more simulated bags would land closer to it.
Two-sided version: If Maya's alternative had been , she would count simulated values at least away from in either direction: at or above (4 dots) and at or below (3 dots). The -value would be about .
Interpreting a -value in context
An interpretation of a -value must say that it was calculated assuming the null hypothesis is true, with the null value in context. On the AP exam, this is the part students most often leave out. Use this template:
Assuming the true proportion of [population and response] is [], there is a [-value] probability of getting a sample proportion of [] or [higher / lower / as far from ] just by chance in a random sample of [] [units].
"Higher" or "lower" matches the direction of , and "as far from " is for a two-sided test.
What small and large -values tell you
- A small -value means the observed result would be unusual if were true. That gives evidence for the alternative hypothesis. The lower the -value, the more convincing the evidence for .
- A -value that isn't small means the observed result would not be unusual if were true. That is not convincing evidence for . It is also not evidence that is true: the data are consistent with , but they're also consistent with plenty of other values of .
How small is small? Topic 3.7 makes this formal by comparing the -value to a significance level chosen in advance, often .
Example 3: Interpreting a -value (AP-style)
A city council member claims that more than half of the city's adults support a later start time for high schools. In a random sample of 200 adults from the city, 116 support it (). For the test of versus , where is the true proportion of all adults in the city who support a later start time, the -value is .
(a) Interpret the -value in context. (b) What does it tell you about the council member's claim? (c) Suppose instead that 106 of the 200 adults had supported it (), giving a -value of . What would that tell you?
(a) Assuming the true proportion of all adults in the city who support a later start time is , there is about a probability of getting a sample proportion of or higher in a random sample of 200 adults just by chance.
(b) That's small: a result this extreme would happen in only about 1 of every 85 random samples if support were really 50%. The sample gives convincing evidence that more than half of the city's adults support a later start time, which backs the council member's claim.
(c) A -value of is not small. About 1 in 5 random samples would show 53% support or more just by chance, even if exactly half the adults supported it. So the sample would not give convincing evidence that more than half support a later start. It also would not show that exactly half support it.
Common mistakes
- Calling the -value the probability that is true. The -value assumes is true. It's the probability of data like yours (or more extreme), not the probability of a hypothesis.
- Leaving out "assuming is true." An interpretation without that condition, in context, doesn't earn credit on the AP exam.
- Shading the tail where the sample landed instead of the tail points to. The alternative decides the direction (see Example 1).
- Forgetting both tails for a two-sided test, or doubling a one-sided -value.
- Treating a large -value as proof of . It only means the data aren't convincing evidence against .
- Describing the probability of getting exactly . The -value includes every result as extreme as or more extreme than the one observed.