AP Statistics

Confidence Intervals vs Hypothesis Tests: AP Statistics Examples

Estimate a population value or assess a claim? Learn the decision, conditions, and interpretation with original worked examples.

School of Math · Updated October 6, 2026 · 4 min read

A confidence interval estimates a population parameter with a range of plausible values. A hypothesis test evaluates evidence against a specified claim about that parameter. Decide whether the question asks “how much?” or “is there evidence?” before reaching for a formula.

Book a Statistics Evaluation

AP Statistics at SOMATH

The same data, two different questions

Suppose a simple random sample of 200 residents from a city with more than 2,000 residents finds that 116 support a proposal. The sample proportion is 116/200 = 0.58. The response is categorical: each resident supports the proposal or does not.

PurposeQuestionMethod
EstimateWhat proportion of all residents supports it?One-proportion confidence interval
TestIs there evidence that more than half support it?One-proportion significance test

Worked example: a 95% confidence interval

Check the method’s conditions before calculating: the sample is random, 200 is less than 10% of the population, and the observed success and failure counts are 116 and 84, both at least 10. The approximate standard error is √(0.58 × 0.42 / 200) ≈ 0.0349.

Using z* = 1.96, the interval is 0.58 ± 1.96(0.0349), approximately (0.512, 0.648). We are 95% confident that between 51.2% and 64.8% of all city residents support the proposal.

That does not mean 95% of residents fall inside the interval. The parameter is a proportion describing the population, not an individual resident. The confidence level describes the long-run capture rate of this interval method under its assumptions.

Worked example: testing a majority claim

Let p be the proportion of all city residents who support the proposal. State H₀: p = 0.50 and Hₐ: p > 0.50. For this test, check expected counts under the null: 200(0.50) = 100 and 200(0.50) = 100.

The null standard error is √(0.50 × 0.50 / 200) ≈ 0.03536. The test statistic is z = (0.58 − 0.50)/0.03536 ≈ 2.26. The upper-tail p-value is approximately 0.0119.

At α = 0.05, reject H₀. The sample provides convincing evidence that more than half of the city’s residents support the proposal, assuming the design and model conditions hold.

Why are the two standard errors different?

The interval estimates uncertainty using the observed sample proportion. The test asks how unusual the sample would be if the null claim were true, so its standard error uses the null proportion. Substituting one formula into the other without checking the purpose changes the procedure.

Do not overstate interval–test equivalence

In this example the 95% interval lies above 0.50 and the one-sided test rejects. That agreement does not establish a universal rule that any 95% two-sided interval matches any one-sided 5% test. Tail direction, confidence level, and the procedure used must be compatible. Calculate and interpret the requested method directly.

Try three decisions

Practice 1: A researcher wants a plausible range for the population’s mean commute time. Interval or test?

Answer

An interval, because the goal is estimation. Commute time is quantitative, so the procedure concerns a mean, not a proportion. Check the study design and distributional conditions before selecting the exact method.

Practice 2: A manufacturer asks whether the mean fill amount is below the labeled amount. Interval or test?

Answer

A test with a lower-tailed alternative about the population mean. Define the parameter, specify the null value, and check conditions.

Practice 3: A test gives p = 0.18 at α = 0.05. Has the null been proved?

Answer

No. Fail to reject the null. The study has not provided sufficient evidence for the alternative at that significance level; it has not established the null as certainly true.

Build a complete response

Use this order: purpose, parameter, procedure, conditions, calculation, conclusion. Keep the final sentence in the language of the study. Follow our AP Statistics study plan and check the 2027 course changes for current preparation priorities.

Inference for proportions and means remains central to the revised framework (College Board course overview). Our Upper West Side AP Statistics class practices these decisions alongside written interpretation.

Questions and answers

When do I use a confidence interval?

When the goal is to estimate a population parameter with a range of plausible values.

When do I use a hypothesis test?

When the goal is to assess evidence against a specified null claim in favor of an alternative.

Does a p-value give the probability the null is true?

No. It measures how unusual results at least as extreme as those observed would be under the null model.

Does failing to reject prove the null?

No. It means the evidence is insufficient for the alternative at the chosen significance level.

Why check conditions first?

The procedure’s interpretation depends on its assumptions; a calculator output does not validate the study design.

Bring your questions to SOMATH

In-person small-group teaching at 226 W 79th St, Upper West Side, NYC. Start with a free 30-minute evaluation, or call (646) 668-6151. See the schedule and course details.

Book a Statistics Evaluation

Keep learning