STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

AP Statistics hypothesis testing, step by step

Significance tests are a large part of AP Statistics. A clear, repeatable method makes them much easier.

On this page
  1. What a significance test asks
  2. The four steps
  3. Understanding the p-value
  4. Writing the conclusion
  5. Type I and Type II errors
  6. Which test?
  7. Worked examples
  8. Errors and power, in context
  9. Common mistakes
  10. Practice questions
  11. Key takeaways
  12. Where to go next
  13. The logic behind significance tests
  14. Choosing one-sided or two-sided
  15. Tests and intervals together
  16. Frequently asked questions
  17. More questions students ask
  18. Quick check
  19. Study tip
  20. A final word

What a significance test asks

A significance test asks whether sample data give convincing evidence against a claim about a population parameter. The claim is the null hypothesis.

The four steps

  1. State the parameter, the hypotheses H0 and Ha, and the significance level α.
  2. Plan: name the test and check the conditions: random, independent (10% condition) and normal or large counts.
  3. Do: calculate the test statistic and the p-value.
  4. Conclude: compare the p-value with α and answer in context.

Understanding the p-value

The p-value is the probability of getting a result at least as extreme as the one observed, assuming the null hypothesis is true. A small p-value is evidence against the null hypothesis.

Writing the conclusion

For example: "Because the p-value of 0.012 is less than α = 0.05, we reject H0. There is convincing evidence that the true proportion of students who…" Never say you have proved or accepted the null hypothesis.

Type I and Type II errors

Which test?

Worked examples

Example 1: a one-sample t test

A machine is meant to fill bottles with 500 ml. A random sample of 25 bottles has mean 510 ml and standard deviation 20 ml. Is the mean different from 500 ml? Use α = 0.05.

Example 2: a two-proportion z test

60% of 200 students at school A and 50% of 200 at school B say they read daily. Is there a difference? Use α = 0.05.

Errors and power, in context

Suppose H0 says a new teaching method does not improve scores.

Common mistakes

Practice questions

Try each one before opening the answer.

Q1. H0: p = 0.4. A sample of 100 has p̂ = 0.48. Find the test statistic.

Show answer
SE = √(0.4 × 0.6/100) ≈ 0.049. z = 0.08/0.049 ≈ 1.63.

Q2. A test has p-value 0.003. What does that mean?

Show answer
If H0 were true, a result at least this extreme would happen only about 0.3% of the time.

Q3. Name two ways to increase the power of a test.

Show answer
Increase the sample size or increase α.

Key takeaways

Where to go next

Review the formulas and the rest of the course.

The logic behind significance tests

A significance test works like a courtroom. The null hypothesis is the claim of "nothing unusual": no difference, no effect, the coin is fair. You assume it is true and ask how surprising your data would be in that world. If the data would be very surprising, you have evidence against the null hypothesis. If not, you do not have enough evidence to reject it, which is different from proving it true.

The p-value measures that surprise. A small p-value means data like yours would rarely happen if the null hypothesis were true. The significance level α is the line you draw in advance: how rare is rare enough to reject?

Choosing one-sided or two-sided

Use a one-sided alternative only when the question is about a specific direction, such as "greater than". Use a two-sided alternative when it asks about any difference. Decide before looking at the data; choosing after you see the results is not fair.

Tests and intervals together

A two-sided test at α = 0.05 and a 95% confidence interval agree. If the hypothesised value lies outside the interval, the test rejects it; if it lies inside, the test does not. Intervals add useful information: they show the size of the effect, not just whether one exists.

Frequently asked questions

Is a smaller p-value always more important?

Not necessarily. With very large samples, tiny and unimportant differences can be statistically significant. Always consider the size of the effect in context.

What significance level should I use?

Use the one given in the question. If none is given, 0.05 is the usual choice; state it.

More questions students ask

Can I use a calculator for the test?

Yes, but show the procedure name, the test statistic and the p-value in your answer, not just the calculator result.

What if the conditions are not met?

Say so. The results of the test may not be reliable, and that observation itself can earn credit.

Quick check

A test at α = 0.01 gives p = 0.03. What is the decision?

Show answer
Because 0.03 > 0.01, fail to reject H0.

Which error is more serious when testing whether a bridge is safe?

Show answer
Usually concluding it is safe when it is not, so the test is set up to make that error unlikely, often with a small α.

Study tip

Write the four steps (state, plan, do, conclude) at the top of every practice question until the routine is automatic.

A final word

Significance tests reward calm, careful thinking. Read the question twice, decide the parameter and the procedure, check the conditions, and finish with a clear sentence in context. With practice, this routine becomes quick and reliable under exam conditions.