---
title: "The method captures p. Not p̂. | FiveStudy"
description: "A state broadband agency takes a random sample of 800 households from 2.4 million and finds that 464 have a high-speed connection. The point estimate is 464/800 = 0.58. That number is known. What the "
url: https://fivestudy.com/guides/apstats-3-3-ci-for-a-proportion
---

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

# The method captures p. Not p̂.

[Figure: FiveStudy]

FiveStudy

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

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

# Constructing a Confidence Interval for a *Proportion*

How to build a one-sample z-interval for a population proportion: define the parameter, check the three conditions, find the critical value, standard error and margin of error, and plan the sample size for a desired margin of error.

1. What an interval is 2. Conditions 3. The calculation 4. Start to finish 5. Sample size

The idea in one paragraph

A single number like \(\hat{p} = 0.38\) is almost surely not exactly right. A **confidence interval** gives a range instead: the sample proportion, plus or minus a margin of error built from how much sample proportions vary. The procedure for one proportion is the **one-sample z-interval**, and it is only trustworthy when three conditions hold.

## 1 What a confidence interval is

A **confidence interval** is an interval estimate for a population parameter. From a sample proportion, the one-sample z-interval estimates a single population proportion \(p\). Every interval has the same structure:

\[ \text{point estimate} \pm \text{margin of error} \]

**Figure 1.** A confidence interval starts at the point estimate and reaches one margin of error in each direction. The margin of error is half the width of the interval.

The parameter must be defined in context. It names three things: that it is a proportion, the response variable, and the population. “\(p\) = the proportion of all high school students in the state who used an AI tool for homework in the past week.”

Common Mistake 1 · Defining the parameter as the sample result

“\(p\) = the proportion of the 400 students who used AI tools” describes the sample, which you already know exactly (0.38). The parameter is about the whole population: *all* high school students in the state.

## 2 Conditions

A one-sample z-interval for a population proportion requires three conditions:

| Condition | Check | Why |
| --- | --- | --- |
| Randomization | The data come from a random sample | So the sample represents the population |
| 10% condition | When sampling without replacement, \(n \le 0.10N\) | So observations are close to independent |
| Normality | Observed successes \(n\hat{p}\) and failures \(n(1-\hat{p})\) are both at least 10 | So the sampling distribution is approximately normal |

Common Mistake 2 · Checking normality with p

When building an interval, \(p\) is unknown, so the normality condition uses the observed counts: \(n\hat{p}\) and \(n(1-\hat{p})\), which are just the numbers of successes and failures in the sample (152 and 248).

Worked Example 1 When a condition fails

### A rare answer

A random sample of 60 students finds 4 who have broken a bone this year. Can a one-sample z-interval be used for the population proportion?

1. 1Normality condition: \(n\hat{p} = 4\), which is less than 10.
2. 2With so few successes, the sampling distribution of \(\hat{p}\) is not close to normal, and the interval’s true capture rate can fall well below the stated level.

**Answer:** No. The normality condition fails (only 4 successes), so the z-interval should not be used. A larger sample would fix this.

## 3 The calculation

The one-sample z-interval for a population proportion is

\[ \hat{p} \pm z^* \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} \]

- The **critical value** \(z^*\) marks off the middle C% of the standard normal distribution, where C% is the confidence level.
- The **standard error** \(SE_{\hat{p}} = \sqrt{\hat{p}(1-\hat{p})/n}\) estimates the standard deviation of the sampling distribution of \(\hat{p}\): the typical amount a statistic varies from the parameter.
- The **margin of error** is \(z^* \times SE\): half the width of the interval.

**Figure 2.** The critical value z* marks off the middle C% of the standard normal distribution. Higher confidence needs a wider middle, so z* grows: 1.645, 1.96, 2.576.

| Confidence level | 90% | 95% | 99% |
| --- | --- | --- | --- |
| z* | 1.645 | 1.960 | 2.576 |

Worked Example 2 Find a critical value

### 90% confidence

Find z* for a 90% confidence interval, and the 90% interval for the AI-tools data.

1. 1The middle 90% leaves 5% in each tail, so z* has 95% of the area to its left: invNorm(0.95) ≈ 1.645.
2. 2\(ME = 1.645(0.0243) \approx 0.040\).
3. 3Interval: \(0.38 \pm 0.040 = (0.340,\ 0.420)\).

**Answer:** z* ≈ 1.645 and the 90% interval is (0.340, 0.420): narrower than the 95% interval, because less confidence needs less room.

Worked Example 3 Standard error and margin of error

### What each one measures

For the AI-tools sample, interpret the standard error 0.0243 and the margin of error 0.048.

1. 1The standard error estimates the standard deviation of the sampling distribution of \(\hat{p}\): the typical amount a sample proportion varies from the population proportion.
2. 2The margin of error is z* times the standard error, half the width of the interval.

**Answer:** SE: in random samples of 400, the sample proportion typically varies by about 0.024 from the true proportion. ME: at 95% confidence, the estimate 0.38 is within about 0.048 of the true proportion, for the method used.

## 4 Start to finish

**Figure 3.** State, Plan, Do, Conclude. Each step answers a different question; leave one out and even a correct calculation is an incomplete answer.

Worked Example 4 A complete 95% interval

### AI tools for homework

A random sample of 400 high school students in a state found that 152 had used an AI tool for homework in the past week. Construct a 95% confidence interval for the proportion of all high school students in the state who did so.

1. 1 **State.** \(p\) = the proportion of all high school students in the state who used an AI tool for homework in the past week. Confidence level 95%.
2. 2 **Plan.** One-sample z-interval for a population proportion. Randomization: a random sample. 10% condition: 400 is far less than 10% of all high school students in the state. Normality: \(n\hat{p} = 152\) and \(n(1-\hat{p}) = 248\), both at least 10.
3. 3 **Do.** \(\hat{p} = 152/400 = 0.38\). \(SE = \sqrt{0.38(0.62)/400} \approx 0.0243\). \(ME = 1.96(0.0243) \approx 0.048\). Interval: \(0.38 \pm 0.048 = (0.332,\ 0.428)\).
4. 4 **Conclude.** We are 95% confident that the interval from 0.332 to 0.428 captures the true proportion of all high school students in the state who used an AI tool for homework in the past week.

**Answer:** (0.332, 0.428), about 33% to 43% of the state’s high school students.

On the calculator

STAT, TESTS, **1-PropZInt**. Enter x (the number of successes, 152), n (400), and the C-Level (0.95). The output (0.33243, 0.42757) matches the hand calculation. Show the formula and numbers too, so a reader can follow the work.

Say it like this

“We are 95% confident that the interval from 0.332 to 0.428 captures the true proportion of all high school students in the state who used an AI tool for homework in the past week.”

Common Mistake 3 · Using a rounded 2 for z* at every level

z* = 2 is a rough stand-in for 95% only. A 90% interval needs 1.645 and a 99% interval needs 2.576. Find z* from the confidence level each time.

## 5 Choosing a sample size

Rearranging the margin of error gives the minimum sample size for a desired margin of error:

\[ n \ge \left(\frac{z^*}{ME}\right)^2 \hat{p}(1-\hat{p}) \]

If there is no estimate of \(\hat{p}\) yet, use \(\hat{p} = 0.5\). That makes \(\hat{p}(1-\hat{p})\) as large as it can be, so the sample size is large enough whatever the true proportion turns out to be.

Worked Example 5 Plan a sample size

### Margin of error at most 0.03

A researcher wants a 95% confidence interval for the proportion of students who use AI tools, with margin of error at most 0.03. How many students should be sampled (a) with no prior estimate, (b) using 0.38 as a prior estimate?

1. 1Solve \(z^*\sqrt{\hat{p}(1-\hat{p})/n} \le ME\) for \(n\): \(n \ge \left(\dfrac{z^*}{ME}\right)^2 \hat{p}(1-\hat{p})\).
2. 2(a) No estimate: use \(\hat{p} = 0.5\), which gives the largest possible \(n\). \(n \ge (1.96/0.03)^2(0.5)(0.5) \approx 1067.1\).
3. 3(b) With 0.38: \(n \ge (1.96/0.03)^2(0.38)(0.62) \approx 1005.6\).
4. 4Always round up, since rounding down would leave the margin of error slightly too large.

**Answer:** (a) 1,068 students. (b) 1,006 students.

Common Mistake 4 · Rounding the sample size down

1067.1 rounds to 1,068, not 1,067. A sample of 1,067 gives a margin of error just over 0.03. Sample sizes always round up.

### Quick reference

| Piece | Formula |
| --- | --- |
| Point estimate | \(\hat{p} = x/n\) |
| Standard error | \(SE = \sqrt{\hat{p}(1-\hat{p})/n}\) |
| Margin of error | \(ME = z^* \cdot SE\) |
| Interval | \(\hat{p} \pm z^* \sqrt{\hat{p}(1-\hat{p})/n}\) |
| Sample size | \(n \ge (z^*/ME)^2\, \hat{p}(1-\hat{p})\); use 0.5 if no estimate; round up |

FiveStudy AP® Statistics · Constructing a confidence interval for a proportion
