# AP Statistics Review: Setting Up a Test for a Population Proportion

Course: AP® Statistics › Unit 3: Inference for Categorical Data: Proportions › 3.5 Setting Up a Test for a Population Proportion ([course hub](https://www.albert.io/blog/category/test-prep/advanced-placement/ap-statistics.md))
Source: https://www.albert.io/blog/ap-statistics-setting-up-test-population-proportion/ · Updated November 16, 2026

Someone claims that 60% of customers are satisfied. A researcher wonders if a new program has changed the proportion of on-time flights. You want to test a specific numerical claim about a population proportion. Hypothesis testing lets you use sample data to build a case for or against that claim. Before any p-value can be computed, you need a solid setup: clear hypotheses, verified conditions, and a correctly calculated test statistic.

## Writing the Hypotheses

Every proportion test has two competing hypotheses about the unknown population proportion p.

![The p-value is the tail area beyond the test statistic, assuming H₀ is true.](https://www.albert.io/blog/wp-content/uploads/2026/11/p-value-tail-area.png) The p-value is the tail area beyond the test statistic, assuming H₀ is true.

| Hypothesis | Form | What It Says |
| --- | --- | --- |
| H₀ (null) | p = p₀ | The proportion equals the claimed value. Always use =. |
| Hₐ — two-tailed | p ≠ p₀ | The proportion differs from the claim (any direction) |
| Hₐ — right-tailed | p > p₀ | The proportion is greater than the claim |
| Hₐ — left-tailed | p < p₀ | The proportion is less than the claim |

**Three rules:**

- H₀ always uses =. Never < or >.
- Hypotheses are about the population parameter p, never the sample statistic p̂.
- Always define p in context: "Let p = the true proportion of [population] who [outcome]."

**Choosing the direction of Hₐ:** Let the research question guide you. "Differs from" → ≠. "Greater than" or "increased" → >. "Less than" or "decreased" → <. "Changed" (no direction specified) → ≠.

## Checking Conditions (RIN)

Three conditions must be verified before computing the test statistic. In hypothesis testing, use p₀ (the null hypothesis value) in the large counts check — not p̂.

![Type I error, Type II error and power for a one-sided test.](https://www.albert.io/blog/wp-content/uploads/2026/11/type-i-ii-errors-and-power.png) Type I error, Type II error and power for a one-sided test.

**R — Random:** The sample must be randomly selected. Quote the problem's language.

**I — Independent (10% Rule):** n ≤ 10% of the population. State explicitly.

**N — Normal (Large Counts):** Both np₀ ≥ 10 AND n(1 − p₀) ≥ 10. Use p₀, not p̂. Write both values out.

**Why p₀ and not p̂?** You're verifying the normal approximation is valid when assuming H₀ is true. The standard error is also computed assuming H₀, so p₀ goes in both places.

## The Test Statistic

z = (p̂ − p₀) / √[p₀(1 − p₀)/n]

| Component | Meaning | Critical Note |
| --- | --- | --- |
| p̂ | Sample proportion | x/n from your data |
| p₀ | Null hypothesis value | Use this in the denominator — NOT p̂ |
| √[p₀(1 − p₀)/n] | Standard error (assuming H₀ true) | This is the most common mistake spot |

The z-statistic measures how many standard errors p̂ is from p₀. Large |z| → data are surprising under H₀ → evidence against H₀.

## Worked Example

A company claims 75% of customers are satisfied. You randomly survey 100 customers and find 68 satisfied. Test whether the true proportion differs from 75% at α = 0.05.

**Step 1 — Hypotheses:**

Let p = the true proportion of customers who are satisfied.

H₀: p = 0.75

Hₐ: p ≠ 0.75 (two-tailed — "differs from")

**Step 2 — Conditions:**

Random: Randomly surveyed ✓

Independence: 100 < 10% of all customers ✓

Large counts: np₀ = 100(0.75) = 75 ≥ 10 ✓; n(1 − p₀) = 100(0.25) = 25 ≥ 10 ✓

**Step 3 — Test statistic:**

p̂ = 68/100 = 0.68

SE = √[0.75(0.25)/100] = √(0.001875) ≈ 0.04330

z = (0.68 − 0.75) / 0.04330 = −0.07 / 0.04330 ≈ −1.62

The sample proportion is 1.62 standard errors below the null hypothesis value. The p-value calculation follows next.

## CI vs. Hypothesis Test: The Key Difference

![For a difference, check whether 0 is in the confidence interval.](https://www.albert.io/blog/wp-content/uploads/2026/11/confidence-interval-contains-zero.png) For a difference, check whether 0 is in the confidence interval.

|  | Confidence Interval for p | Hypothesis Test for p |
| --- | --- | --- |
| **SE formula** | √[p̂(1 − p̂)/n] | √[p₀(1 − p₀)/n] |
| **Large counts check** | Use p̂ | Use p₀ |
| **Why?** | No null assumption — use sample data | Assume H₀ is true — use null value |

## Test-Taking Strategies

**Always define p in context before writing the hypotheses.** "Let p = the true proportion of customers satisfied" — then H₀: p = 0.75. This earns the parameter definition point on AP rubrics and keeps you focused on the right population throughout.

**Use p₀ in both the large counts check and the SE formula.** This is the most common error on this topic. You're testing assuming H₀ is true, so the null value p₀ drives every formula on the test setup side. The moment you see "hypothesis test," mentally tag "p₀ in denominator."

**Read the problem for the direction word.** "Differs from" → ≠ (two-tailed). "Has increased" → > (right-tailed). "Has decreased" → < (left-tailed). This word determines Hₐ, which determines which tail you use for the p-value. Get it wrong here and the p-value calculation is wrong too.

**Structure your setup with labels.** Write "Hypotheses:", "Conditions:", "Test Statistic:" as headers. AP graders follow this structure when scoring — organized work earns more points, even if there's a calculation error, because the grader can see your setup was correct.

**Time allocation.** Hypotheses: 30 seconds. Conditions: 2 minutes. Test statistic: 1 minute. Total setup: under 4 minutes. The p-value and conclusion take another 2−3 minutes. Budget for a 6−7 minute complete test on free response.

## Check for Understanding

Think you've got it? Complete the quiz below to make sure. Download your results at the end.

Previous topic: [3.4 Justifying a Claim Based on a Confidence Interval for a Population Proportion](https://www.albert.io/blog/ap-statistics-justifying-claim-confidence-interval-proportion.md)
Next topic: [3.6 p-Values](https://www.albert.io/blog/ap-statistics-interpreting-p-values.md)
