From the free course AP Statistics on Lykke

3.5 Setting Up a Test for a Population Proportion

Key concepts: One-sample z-test for p — deciding about a single population proportion · Parameter statement — the population, the response variable, and p in context · Null hypothesis H₀: p = p₀ — the status-quo value assumed true · Alternative hypothesis — one-sided (< or >) versus two-sided (≠) · Hypotheses are claims about the parameter p, never about p̂ · Conditions — random sample, 10% rule, both expected counts ≥ 10

A statistical claim is only as strong as the evidence required to overturn it. When a manufacturer asserts that 95% of their components are defect-free, or a pollster claims that a majority of voters support a new policy, they are setting a baseline for the truth.

A statistical claim is only as strong as the evidence required to overturn it. When a manufacturer asserts that 95% of their components are defect-free, or a pollster claims that a majority of voters support a new policy, they are setting a baseline for the truth. In statistics, we don't simply "check" if these numbers are right; we mount a formal challenge using a one-sample z-test for a population proportion. This procedure allows us to determine if an observed sample result is so unlikely—under the assumption that the claim is true—that we must reject the claim entirely.

The Inference Framework: One-Sample z-test

The one-sample z-test for a population proportion is the standard inference method used to make a decision about the value of a single population parameter $p$. This method (Skill 2.C) is appropriate when the data consists of a single categorical variable (success/failure) from one population. The goal is to move from a specific sample statistic ($\hat{p}$) to a generalized conclusion about the entire population.

To set up this test correctly, we must first precisely define the parameter of interest. A well-defined parameter (EK 3.5.A.2) must reference three things:

  1. The Population: Who or what are we studying? (e.g., "all registered voters in Ohio")
  2. The Response Variable: What characteristic are we measuring? (e.g., "support for the school bond")
  3. The Parameter Type: Since we are dealing with categorical data, this is the proportion ($p$).

Defining the Challenge: Null and Alternative Hypotheses

Every significance test is built on a pair of competing statements known as hypotheses (Skill 2.E). These statements are always about the population parameter ($p$), never about the sample statistic ($\hat{p}$). We act as a "statistical jury," assuming the defendant (the null hypothesis) is innocent until proven guilty by the evidence.

  • Null Hypothesis ($H_0$): This is the "no change" or "status quo" claim. it asserts that the population proportion is equal to a specific claimed value, denoted as $p_0$.
    • Notation: $H_0: p = p_0$
  • Alternative Hypothesis ($H_a$): This is the claim we are looking for evidence to support. It represents a departure from the null in a specific direction.
    • One-sided (Greater than): $H_a: p > p_0$ (The true proportion is higher than claimed).
    • One-sided (Less than): $H_a: p < p_0$ (The true proportion is lower than claimed).
    • Two-sided (Not equal to): $H_a: p \neq p_0$ (The true proportion is simply different than claimed).

Justifying the Method: Verifying Conditions

Before we can calculate a test statistic or a p-value, we must justify the use of the z-test by verifying three critical conditions (Skill 4.E). If these conditions are not met, the resulting probabilities may be misleading.

  1. Random: The data must come from a well-designed random sample or a randomized experiment. This allows us to generalize our findings to the population and ensures that the sample is not systematically biased.
  2. 10% Rule (Independence): When sampling without replacement from a finite population, the sample size $n$ should be no more than 10% of the population size $N$ ($n \leq 0.10N$). This allows us to treat individual observations as independent.
  3. Large Counts (Normality): To use the Normal distribution for our calculations, the expected number of successes and failures must both be at least 10. Crucially, we use the hypothesized proportion ($p_0$) for this check:
    • $np_0 \geq 10$
    • $n(1 - p_0) \geq 10$

Misconception Check: $p$ vs. $\hat{p}$ A common error is using the sample proportion ($\hat{p}$) in the hypotheses or the Large Counts condition. Remember: We already know $\hat{p}$—it’s a fact from our data. We don't need to test it. We test the unknown population parameter $p$. In the Large Counts check, we use $p_0$ because we are calculating the probability of our result assuming the null hypothesis is true.

Contextual Example: The Cafeteria Claim

A high school cafeteria manager claims that 70% of students are satisfied with the new "Meatless Monday" menu. A student leader suspects the actual satisfaction rate is lower. They survey a random sample of 150 students and find that 90 are satisfied.

1. Identify Parameter: Let $p$ = the true proportion of all students at this school who are satisfied with the new menu. 2. State Hypotheses:

  • $H_0: p = 0.70$
  • $H_a: p < 0.70$ 3. Verify Conditions:
  • Random: The scenario states a "random sample" was used.
  • 10%: It is reasonable to assume there are more than 1,500 students at a large high school ($150 \leq 0.10N$).
  • Large Counts: $150(0.70) = 105 \geq 10$ and $150(0.30) = 45 \geq 10$. The condition is met.

Retrieval Check: Suppose a researcher wants to test if a new medication has a different success rate than the current standard of 40%. They sample 100 patients.

  1. What is the appropriate null hypothesis?
  2. What is the appropriate alternative hypothesis?
  3. In the Large Counts condition, what value of $p$ should be multiplied by $n$?

(Answer: 1. $H_0: p = 0.40$; 2. $H_a: p \neq 0.40$; 3. The hypothesized value $p_0 = 0.40$.)

3.5 Setting Up a Test for a Population Proportion - AP Statistics - image 1
3.5 Setting Up a Test for a Population Proportion - AP Statistics - image 1
3.5 Setting Up a Test for a Population Proportion - AP Statistics - diagram 1
3.5 Setting Up a Test for a Population Proportion - AP Statistics - diagram 1

Source Materials

The whole course on Lykke · Browse all public course wikis