---
title: "Compare p to alpha. Then say it in context. | FiveStudy"
description: "A city’s sustainability office reports that 30% of residents recycle glass. A random sample of 500 of the city’s 340,000 residents finds 132 who do, so p̂ = 0.264. Lessons 3.5 and 3.6 built the setup "
url: https://fivestudy.com/guides/apstats-3-7-carrying-out-a-proportion-test
---

[AP Statistics](https://fivestudy.com/ap-statistics) · Study guide

# Compare p to alpha. Then say it in context.

[Figure: FiveStudy]

FiveStudy

AP® Statistics · Unit 3 · Inference for Categorical Data: Proportions

AP® Statistics · Unit 3 · Inference for Categorical Data: Proportions

# Carrying Out a Test for a *Proportion*

How to calculate the test statistic and p-value for a one-sample z-test, how the significance level works, how to make the decision, and how to write a conclusion in context that never claims to prove anything.

1. The test statistic 2. Significance level 3. A full test 4. Writing the conclusion 5. Quick reference

The idea in one paragraph

The test statistic measures how far the sample proportion is from the null value, in standard deviations. Its p-value says how unusual that distance would be if H₀ were true. Compare the p-value with the significance level α, chosen in advance: at or below α, reject H₀ and say there is convincing evidence for Hₐ; above α, fail to reject H₀ and say there is not.

## 1 The test statistic

The test statistic for a one-sample z-test for a population proportion is

\[ z = \frac{\hat{p} - p_0}{\sqrt{\dfrac{p_0(1-p_0)}{n}}} \]

When the null hypothesis is true, this z-statistic has a standard normal distribution: the null distribution. The p-value is found from the standard normal distribution with a table or technology.

**Figure 1.** When H₀ is true, the z-statistic follows the standard normal distribution. The observed z of −2.39 is far out in a tail; a result that far from 0 in either direction would happen only about 1.7% of the time.

Common Mistake 1 · Using p-hat in the standard deviation

A test assumes H₀ is true, so the standard deviation uses \(p_0\): \(\sqrt{p_0(1-p_0)/n}\). Intervals use \(\hat{p}\) because they assume nothing about \(p\). Mixing the two gives the wrong z.

## 2 The significance level

The **significance level** \(\alpha\) is the predetermined probability of rejecting the null hypothesis when it is actually true. It is given, or chosen by the researcher before the data are collected; 0.05 is common, with 0.01 and 0.10 also used. A result is **statistically significant** when its p-value is at or below \(\alpha\).

**Figure 2.** The significance level α is chosen before the data are collected. The decision then compares the p-value with α: a p-value at or below α is statistically significant.

| Comparison | Decision | What it means |
| --- | --- | --- |
| p-value \(\le \alpha\) | Reject \(H_0\) | There is convincing evidence for \(H_a\) |
| p-value \(\gt \alpha\) | Fail to reject \(H_0\) | There is not convincing evidence for \(H_a\) |

Worked Example 1 Same p-value, different α

### School lunch

A test of H₀: p = 0.60 against Hₐ: p < 0.60 (the proportion of students who eat school lunch) gave p-value 0.0668. What is the decision at α = 0.05? At α = 0.10?

1. 1At α = 0.05: 0.0668 > 0.05, so fail to reject H₀.
2. 2At α = 0.10: 0.0668 ≤ 0.10, so reject H₀.
3. 3This is why α must be chosen before seeing the data: picking it afterward lets you steer the decision.

**Answer:** Fail to reject at α = 0.05; reject at α = 0.10. The evidence is the same; the standard for “convincing” differs.

Common Mistake 2 · Choosing α after seeing the p-value

If the p-value is 0.0668 and you then decide α should be 0.10, you have chosen the standard to fit the answer. Fix α at the start, in the State step.

## 3 A full test, start to finish

Worked Example 2 A complete test

### College applications

In past years, 70% of seniors at a school applied to college by December 1. This year a counselor takes a random sample of 120 of the school’s 1,400 seniors and finds that 72 have applied. Is there convincing evidence, at α = 0.05, that the proportion this year is different from 70%?

1. 1 **State.** \(H_0: p = 0.70\), \(H_a: p \ne 0.70\), where \(p\) = the proportion of all seniors at the school this year who applied to college by December 1. \(\alpha = 0.05\).
2. 2 **Plan.** One-sample z-test for a population proportion. Randomization: random sample. 10% condition: \(120 \le 0.10(1{,}400) = 140\). Normality: \(np_0 = 84\) and \(n(1-p_0) = 36\), both at least 10.
3. 3 **Do.** \(\hat{p} = 72/120 = 0.60\). \(z = \dfrac{0.60 - 0.70}{\sqrt{0.70(0.30)/120}} = \dfrac{-0.10}{0.0418} \approx -2.39\). Two-sided p-value \(= 2P(z \le -2.39) \approx 0.0168\).
4. 4 **Conclude.** Because the p-value of 0.0168 is less than α = 0.05, we reject H₀. There is convincing evidence that the proportion of all seniors at the school this year who applied to college by December 1 is different from 0.70.

**Answer:** Reject H₀: convincing evidence that the proportion has changed from 70% (the sample suggests it is lower).

On the calculator

STAT, TESTS, **1-PropZTest**. Enter p₀ (0.70), x (72), n (120), and choose the alternative (≠ p₀). The output gives z ≈ −2.39 and p ≈ 0.0168. Write the formula and values in your work as well.

Common Mistake 3 · Skipping the condition check because the math works

The formula gives a number whether or not the conditions hold. If the school in the college example had only 640 seniors, a sample of 120 would be more than 10% of them (64), which breaks the 10% condition. Then the observations are not close enough to independent, the standard deviation formula overstates the variability, and the p-value is off. Check every condition with the actual numbers.

## 4 Writing the conclusion

A formal decision compares the p-value to \(\alpha\) out loud. Rejecting H₀ means there is convincing evidence for Hₐ. Failing to reject H₀ means there is not convincing evidence for Hₐ. A test can never conclude that H₀ is true: a lack of evidence for the alternative is not evidence for the null. The conclusion is stated in context, in terms of the alternative hypothesis, with a reference to the parameter and the population, using non-definitive language.

Say it like this

*Reject:* “Because the p-value of 0.0168 is less than α = 0.05, we reject H₀. There is convincing evidence that the proportion of all seniors at the school this year who applied to college by December 1 is different from 0.70.”

*Fail to reject:* “Because the p-value of 0.0668 is greater than α = 0.05, we fail to reject H₀. There is not convincing evidence that the proportion of all students at the school who eat the school lunch is less than 0.60.”

Worked Example 3 Write the conclusion

### Fail to reject

Write the conclusion for the lunch test at α = 0.05.

1. 1Compare the p-value with α explicitly.
2. 2State the decision about H₀, then a sentence in terms of Hₐ, with the parameter and population in context.
3. 3Use non-definitive language: “convincing evidence,” never “proves.”

**Answer:** Because the p-value of 0.0668 is greater than α = 0.05, we fail to reject H₀. There is not convincing evidence that the proportion of all students at the school who eat the school lunch is less than 0.60.

Common Mistake 4 · Saying “accept H₀” or “proves”

Never write that a test accepts H₀, proves Hₐ, or shows that “p = 0.60.” A large p-value says the data are consistent with H₀; it does not confirm it. A small p-value gives convincing evidence, not proof.

The result of a test is the statistical reasoning behind the answer to the investigative question. For the counselor: yes, the data give convincing evidence that this year’s application rate differs from the usual 70%.

## 5 Quick reference

| Step | What to write |
| --- | --- |
| State | \(H_0\), \(H_a\), the parameter in context, and \(\alpha\) |
| Plan | One-sample z-test for a population proportion; check randomization, 10% condition, \(np_0\) and \(n(1-p_0) \ge 10\) |
| Do | \(z = (\hat{p} - p_0)/\sqrt{p_0(1-p_0)/n}\); p-value from the standard normal, in the direction of \(H_a\) |
| Conclude | Compare p-value with \(\alpha\); decide; state the evidence for \(H_a\) in context |

FiveStudy AP® Statistics · Carrying out a test for a proportion
