AP Statistics / Unit 3: Inference for Categorical Data: Proportions / Topic 3.8
NUM8ERS study notes · Topic 3.8

Potential Errors When Performing Tests

A well-designed hypothesis test can still make a wrong decision. Learn to describe Type I and Type II errors, interpret power, and plan a study with the consequences of both errors in mind.

2026–27 curriculum6 worked examples10 practice questions6 visual guides

By the end of this lesson, you should be able to:

  • Distinguish a test decision from the actual truth about a population.
  • Identify Type I and Type II errors and describe them in context.
  • Interpret α\alpha, β\beta and power as conditional probabilities.
  • Calculate Power⁡=1−β\operatorname{Power} = 1 – \beta and β=1−Power⁡\beta = 1 – \operatorname{Power}.
  • Explain how sample size, variability, effect size and α\alpha affect power.
  • Connect the consequences of errors with choices made before collecting data.

Before you start: Review Topic 3.7’s complete hypothesis test. You should know H0H_{0}, HaH_{a}, pp-values, α\alpha, and the decisions “reject H0H_{0}” and “fail to reject H0H_{0}.”

First time learning this? Start with the decision table, then use the school example to put each error into words.

Here to revise? Use the error-and-power checklist, then try the practice before revealing answers.

The concept in 60 seconds

A school tests whether more than 60%60\% of its students prefer an earlier lunch. Let pp be the proportion of all students at this school who prefer the change.

H0:p=0.60H_0:p=0.60
Ha:p>0.60H_a:p>0.60

A random sample supplies evidence, but it does not reveal the exact population proportion. Sometimes a sample looks unusually supportive even when the true proportion is 0.600.60. Sometimes it fails to show convincing support even when the true proportion is above 0.600.60.

Type I error: reject a true H0H_{0}. The test finds evidence for an increase that is not actually there at the null benchmark.

Type II error: fail to reject H0H_{0} when the specified alternative is actually true. The test misses a real increase.

These are errors in the statistical decision, not necessarily mistakes in arithmetic. You can write the hypotheses correctly, check the conditions and calculate the pp-value correctly, yet still make 11 of these errors because samples vary.

Power describes how well the test can detect a specified real departure from H0H_{0}. Higher power means a smaller chance of missing that departure.

All school, library and factory contexts are fictional teaching examples. Numerical planning illustrations use explicitly stated models or supplied probabilities; they are not measured performance claims.

Quick check: does every rejection of H0H_{0} count as a Type I error?

No. It is a Type I error only when H0H_{0} is actually true. Rejecting H0H_{0} when the specified alternative is true is a correct decision. A decision alone does not tell us whether an error occurred.

Decision versus reality: 44 possible outcomes

Keep two questions separate:

  1. What did the test decide? Reject H0H_{0} or fail to reject H0H_{0}.
  2. What is actually true? The null benchmark holds, or a specified departure in HaH_{a} is real.
Visual guide 1: 44 outcomes from decision and reality
Cross the test decision with the population truth.
Test decisionReality: H0H_{0} trueReality: specified HaH_{a} true
Reject H0H_{0}Type I error. Probability α\alpha.Correct detection. Probability Power⁡\operatorname{Power}.
Fail to reject H0H_{0}Correct nonrejection. Probability 1−α1 – \alpha.Type II error. Probability β\beta.

Each probability is conditional on its column’s assumed truth. For the school’s right-tailed question, compare the null benchmark p=0.60p = 0.60 with a specified true increase such as p=0.65p = 0.65. The displayed columns are 22 distinct hypothetical population models; they are not 22 categories whose probabilities add across a row.

The reality columns describe different possible populations. We do not usually know which column applies in an actual study. The table explains the possible outcomes; it does not reveal the hidden truth after 11 test.

A memory aid that keeps the logic correct

  • Type I: wrong rejection. We reject a null hypothesis that is true.
  • Type II: missed departure. We fail to reject even though the alternative’s departure is real.

“False alarm” can help with a Type I error, and “missed detection” can help with a Type II error. But an error’s meaning depends on HaH_{a}. If the alternative claims an improvement, the false alarm is a false claim of improvement; it is not automatically an alarm about a defect.

Failure to reject is not acceptance. It says that this test did not find convincing evidence for HaH_{a} at the chosen level. It does not establish H0H_{0} as true.

Quick check: the alternative is real, but the test rejects H0H_{0}. Which error occurred?

No error. This is correct detection of the specified alternative. Its probability, under that true alternative, is the test’s power.

Describe both errors in context

A strong error description states what the test concludes or fails to detect, then states what the population is actually like. Avoid stopping at the labels “Type I” and “Type II.”

Visual guide 2: describe the error, not just its label
Type IFalse claim above 60%60\%

The test finds convincing evidence for p>0.60p > 0.60 when the school’s true pp is 0.600.60.

Type IIMissed real increase

The test fails to find convincing evidence for p>0.60p > 0.60 when the school’s true pp is above 0.600.60.

Check the wordingDecision and actual truth

Name the preference proportion and all students at this school. Failure to reject does not assert that p=0.60p = 0.60.

The error description depends on HaH_{a}. Reverse the direction for a less-than claim; include either direction for a not-equal claim.

School example: Type I error

“The test finds convincing statistical evidence that more than 60%60\% of all students at this school prefer an earlier lunch, when in fact the true preference proportion is 0.600.60.”

This is a wrong rejection of H0H_{0}. The school could make a schedule change based on evidence that incorrectly suggests support exceeds the benchmark. The test does not guarantee any particular policy action; that is a separate decision.

School example: Type II error

“The test does not find convincing statistical evidence that more than 60%60\% of all students at this school prefer an earlier lunch, when in fact the true preference proportion is greater than 0.600.60.”

This is a missed real increase. The school could overlook a genuine preference for a change. Do not rewrite failure to reject as “the test concludes that at most 60%60\% prefer it.” That statement claims more than the test establishes.

For a less-than alternative

If a factory tests H0:p=0.04H_{0}: p = 0.04 against Ha:p<0.04H_{a}: p < 0.04, where pp is a batch’s defect proportion:

  • Type I: find convincing evidence that the batch’s defect proportion is below 4%4\% when it is actually 4%4\%.
  • Type II: fail to find convincing evidence of a reduction when the batch’s defect proportion is actually below 4%4\%.

For a not-equal alternative

If HaH_{a} says p≠p0p \ne p_{0}, either an increase or a decrease can be a real departure. A Type I error claims a difference when p=p0p = p_{0}. A Type II error misses a difference when pp really differs from p0p_{0}.

Quick check: why is “Type II means concluding H0H_{0} is true when it is false” an overstatement?

The test fails to reject H0H_{0}; it does not prove or conclude that H0H_{0} is true. Describe Type II as missing convincing evidence for a specified real alternative.

α\alpha, β\beta and power

The probabilities on this page are conditional: each assumes a particular truth about the population. The “given” condition is part of the meaning, not a detail to omit.

α=P(reject H0∣H0 is true)\alpha=P(\text{reject }H_0\mid H_0\text{ is true})
β=P(fail to reject H0∣a specified alternative is true)\beta=P(\text{fail to reject }H_0\mid\text{a specified alternative is true})
Power⁡=P(reject H0∣that specified alternative is true)\operatorname{Power}=P(\text{reject }H_0\mid\text{that specified alternative is true})
Power⁡=1−βsoβ=1−Power⁡\operatorname{Power}=1-\beta\quad\text{so}\quad\beta=1-\operatorname{Power}

The vertical bar ∣\mid means “given” or “assuming.” Read each probability with its condition. α\alpha is the significance level chosen before examining the data. β\beta, read “beta,” depends on the test design and the particular true alternative you want to detect.

Visual guide 3: 33 probabilities, 22 assumed truths
Null worldα=0.05\alpha = 0.05

Assume p=0.60p = 0.60. The nominal probability of rejecting a true null is 5%5\%.

Alternative worldβ≈0.3420\beta \approx 0.3420

Assume p=0.65p = 0.65. In the illustrated plan, about 34.2%34.2\% of samples fail to reject.

Same alternative worldPower⁡≈0.6580\operatorname{Power} \approx 0.6580

Assume that same p=0.65p = 0.65. About 65.8%65.8\% of samples reject correctly.

These are the continuous school planning model’s probabilities explained in the next section. β\beta and power complement one another under the same true alternative. α\alpha belongs to a different assumed truth.

Keep the condition attached to each probability.
TermMeaningIllustrated school plan
α\alpha: significance levelNominal P(reject H0∣H0 true)P(\text{reject }H_0\mid H_0\text{ true})0.050.05 under true p=0.60p = 0.60
β\beta: Type II error probabilityP(fail to reject H0∣specified Ha true)P(\text{fail to reject }H_0\mid\text{specified }H_a\text{ true})Approximately 0.34200.3420 under true p=0.65p = 0.65
Power⁡\operatorname{Power}P(reject H0∣specified Ha true)P(\text{reject }H_0\mid\text{specified }H_a\text{ true})Approximately 0.65800.6580 under the same true p=0.65p = 0.65
1−α1 – \alphaNominal probability of correct nonrejection under H0H_{0}0.950.95 under true p=0.60p = 0.60
pp-valueObserved extreme-result probability assuming the null modelComputed after observing a sample; not α\alpha, β\beta or power

Why do β\beta and power add to 11?

Under the same specified true alternative, the test either rejects H0H_{0} or fails to reject H0H_{0}. Correct detection and a Type II error are complementary outcomes. For example, a supplied power of 0.800.80 means β=1−0.80=0.20\beta = 1 – 0.80 = 0.20.

Why do α\alpha and β\beta not generally add to 11?

They are calculated under different population truths. α\alpha assumes H0H_{0} is true. β\beta assumes a specified alternative is true. They are not the 22 parts of 11 probability total. A test might have α=0.05\alpha = 0.05 and β=0.20\beta = 0.20; there is no requirement for their sum to equal 11.

Power is not the probability that HaH_{a} is true

A power of 0.800.80 at a specified true pp means that the test would reject H0H_{0} in about 80%80\% of repetitions if that pp were the actual population proportion. It does not mean there is an 80%80\% chance that HaH_{a} is true after observing data.

Different roles: α\alpha is a planned threshold; a pp-value comes from the observed sample under the null model; power is a detection probability under a specified alternative model. None is the probability that a hypothesis itself is true.

In the AP test framework, α\alpha represents the Type I error probability. For a discrete proportion test that uses a normal approximation, the actual rejection probability at the null benchmark can differ slightly from the nominal α\alpha. The visual model below makes its approximation explicit.

Quick check: if power is 0.870.87 at the stated true proportion, what is β\beta?

β=1−0.87=0.13\beta = 1 – 0.87 = 0.13. Under that same true proportion and design, there is a 13%13\% probability of failing to reject H0H_{0}. Do not use 1−α1 – \alpha to calculate power.

See the error probabilities

Consider a planned school study with an SRS of n=400n = 400 students from the school’s 10,00010{,}000 students, without replacement. The question remains H0:p=0.60H_{0}: p = 0.60 versus Ha:p>0.60H_{a}: p > 0.60, with α=0.05\alpha = 0.05 selected in advance.

To examine detection, suppose the true population proportion were p=0.65p = 0.65. That is an assumed alternative for this planning illustration. It is not a truth established by a sample.

The sampling checks are appropriate for the illustration: an SRS is specified, 400≤1,000400 \le 1{,}000, and the expected counts are 240240 and 160160 under p=0.60p = 0.60, or 260260 and 140140 under p=0.65p = 0.65. Both distributions can be approximated by normal curves.

Visual guide 4: locate α\alpha, β\beta and power on the correct curve
Type I error, Type II error and power under one rejection ruleTwo normal approximations for the sample proportion use the same rejection cutoff near 0.6402905. Under the null population p equals 0.60, the right-tail area is alpha 0.05 and represents Type I errors. Under true p equals 0.65, the left area below that same cutoff is beta about 0.3420 and the right area is power about 0.6580. Each curve uses its own sampling standard deviation for n equals 400. 0 10 α = 0.0500 Type I error Reality: H₀ true · p = 0.60 .45 .50 .60 .70 .80 Sample proportion p̂ 0 10
Posted on Google Google
0000003998 : Abdad Alam Shamim Alam profile picture
0000003998 : Abdad Alam Shamim Alam
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
This is the bestest institution I have ever come to and I love it very much.
Posted on Google Google
Aliki S profile picture
Aliki S
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Ali profile picture
Ali
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Sly is him
Posted on Google Google
Jitendra Kumar Kumawat profile picture
Jitendra Kumar Kumawat
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Raahil Hasan profile picture
Raahil Hasan
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Tina Mudarres profile picture
Tina Mudarres
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
The classes are amazing and my child learnt so much
Posted on Google Google
alisha gadoya profile picture
alisha gadoya
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
I have experienced a lot of good things, it has taught me so many things and from B/Cs I have gone to an A! This is wonderful and Mavish’s class is awesome.
Posted on Google Google
smasher 123 profile picture
smasher 123
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
It’s sensational my kid went. First he only would get C now it’s all A’s really good and recommend
Posted on Google Google
Mosa Al- Samaraie profile picture
Mosa Al- Samaraie
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
AMAZING PRICES GREAT TEACHERS STRAIGHT FORWARD LEARNING STEADY PACE IN TUTORING
Posted on Google Google
Cael Dagnelie profile picture
Cael Dagnelie
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
I had a great experience learning math with Ms. Mavish. She explains complex topics in a very clear and simple way, which made it easier for me to understand and enjoy the subject. Her patience and dedication really stood out, and she always made sure that everyone in the class was keeping up. I especially appreciated how approachable she was — I never felt afraid to ask questions, and she was always willing to help. Thanks to her teaching, my confidence in math has grown a lot. I’m really thankful for the effort she puts into every lesson!

NUM8ERS is one of finest tutoring institutes in UAE, Located in Al Barsha 1, Dubai. Close to DUBAI AMERICAN ACADEMY (DAA) & AMERICAN SCHOOL OF DUBAI (ASD).