Instant PDF download, name-and-email checkout. Complete bundle: every Economics and Statistics book
Statistics guide, Unit 3, step 14 of 22Previous stepNext step

Step 14: Errors and Power in Significance Tests

SyllabusAP Stats 3.8
In 30 seconds
  • A significance test can go wrong in two ways. A Type I error rejects a null hypothesis that is actually true. A Type II error fails to reject a null hypothesis that is actually false.
  • The probability of a Type I error (when \(H_0\) is true) is the significance level \(\alpha\). The probability of a Type II error is called \(\beta\).
  • Power \(= 1 – \beta\) is the probability that the test correctly rejects a false \(H_0\). Power goes up with a larger sample, a larger \(\alpha\), a bigger true effect and less variability.
  • Exam marks come from describing each error in context and naming a realistic consequence, not just reciting “reject a true \(H_0\)”.
Video lesson coming soonA short animated lesson for this step will appear here.

Two ways a test can be wrong

Think about the smoke alarm in your kitchen. Its job is to decide between two possibilities: “there is no fire” and “there is a fire”. It can go off when you are only making toast (a false alarm), or stay silent while something is really burning (a missed fire). Both are mistakes, with very different consequences.

A significance test is like that alarm. You start by assuming the null hypothesis \(H_0\) is true (“no fire”, “no change”, “the claim is correct”). If the data would be very surprising under \(H_0\), you reject it in favour of the alternative \(H_a\). Because you only see a random sample, chance will sometimes fool you.

There are four possible situations. Two are correct decisions and two are errors:

\(H_0\) is actually true\(H_0\) is actually false
Reject \(H_0\)Type I error (probability \(\alpha\))Correct decision (probability = power)
Fail to reject \(H_0\)Correct decisionType II error (probability \(\beta\))
Key termType I error: rejecting \(H_0\) when \(H_0\) is actually true, a “false alarm”. If \(H_0\) is true, its probability is the significance level \(\alpha\).
Key termType II error: failing to reject \(H_0\) when \(H_0\) is actually false, a “missed effect”. Its probability is written \(\beta\).

A Type I error is a false positive; a Type II error is a false negative. A court trial works the same way. \(H_0\) is “the defendant is innocent”. Convicting an innocent person is a Type I error. Letting a guilty person go free is a Type II error.

Common mistakeYou can only make one type of error at a time, and which one depends on your decision. If you rejected \(H_0\), the only error you could have made is Type I. If you failed to reject \(H_0\), the only error you could have made is Type II. Students often lose marks by naming the wrong one.

Describing errors in context, with consequences

Examiners give you a situation and ask you to describe the error in that situation, often with a consequence. The safe method is to take the general definition and replace “\(H_0\)” with what the null hypothesis actually says.

Worked example

A phone company says that 80% of its customers are satisfied. A consumer group suspects the true figure is lower. It surveys a random sample of customers and tests \(H_0: p = 0.80\) against \(H_a: p < 0.80\), where \(p\) is the proportion of all the company’s customers who are satisfied. Describe a Type I and a Type II error in context, with a consequence of each.

Step 1Type I error: the group concludes that fewer than 80% of customers are satisfied, when in fact 80% are satisfied.
Step 2Consequence of Type I: the company is publicly accused of a false claim, damaging its reputation unfairly, and may waste money “fixing” a service that was fine.
Step 3Type II error: the group does not find convincing evidence that fewer than 80% are satisfied, when in fact fewer than 80% are satisfied.
Step 4Consequence of Type II: customers keep trusting a claim that is untrue, and nobody puts pressure on the company to improve.

Each description says what was concluded and what was really true, in context.

Two more common contexts:

  • Medical screening. \(H_0\): the patient does not have the disease. A Type I error tells a healthy person they may be ill, causing worry and extra tests. A Type II error tells an ill person they are fine, so treatment is delayed. The Type II error is usually far more serious here.
  • Quality control. \(H_0\): the machine is working properly. A Type I error stops a good machine for repairs, wasting time and money. A Type II error leaves a faulty machine running, so defective products reach customers.

Power: the chance of catching a real effect

If \(H_0\) really is false, you want your test to notice. The probability that it does is called the power of the test. Since a false \(H_0\) is either detected (rejected) or missed (Type II error), these two probabilities add up to 1.

\[ \text{Power} = P(\text{reject } H_0 \mid H_0 \text{ is false}) = 1 – \beta \]
Key termPower: the probability that a significance test correctly rejects \(H_0\) when a particular alternative value of the parameter is true.

Power always depends on which alternative is true. A test might have only a 30% chance of detecting a tiny difference but a 95% chance of detecting a large one. A low-power study will probably miss the effect it was looking for.

Worked example

For example, a coin is suspected of landing heads too often. You toss it \(n = 100\) times and test \(H_0: p = 0.5\) against \(H_a: p > 0.5\) at \(\alpha = 0.05\). Suppose the true probability of heads is actually 0.6. Find the power of the test.

Step 1Under \(H_0\), the standard deviation of \(\hat{p}\) is \(\sqrt{\dfrac{0.5 \times 0.5}{100}} = 0.05\). You reject when \(z > 1.645\), so when \(\hat{p} > 0.5 + 1.645 \times 0.05 = 0.582\).
Step 2If really \(p = 0.6\), the standard deviation of \(\hat{p}\) is \(\sqrt{\dfrac{0.6 \times 0.4}{100}} \approx 0.049\).
Step 3Power \(= P(\hat{p} > 0.582) = P\left(z > \dfrac{0.582 – 0.6}{0.049}\right) = P(z > -0.37) \approx 0.64\).
Step 4\(\beta = 1 – 0.64 = 0.36\).

If the coin really lands heads 60% of the time, a test with 100 tosses has about a 64% chance of detecting it and about a 36% chance of missing it. With \(n = 200\) tosses the same calculation gives power of about 0.89.

AP Statistics does not usually ask you to calculate power, but it does expect you to explain what changes it.

What increases power?

There are four levers. Anything that pulls the null and alternative distributions apart, or makes them narrower, raises power.

DiagramDraw a horizontal axis for \(\hat{p}\). Sketch a normal curve centred on 0.5 (the null value) and a second normal curve to its right centred on 0.6 (the true value). Draw a vertical cut-off line at 0.582. The area of the left curve to the right of the line is \(\alpha\). The area of the right curve to the left of the line is \(\beta\). The area of the right curve to the right of the line is the power. Now redraw with a bigger \(n\): both curves become narrower, they overlap less, and the shaded power area grows.
ChangeEffect on powerWhy
Larger sample size \(n\)IncreasesSmaller standard deviation of the statistic, so the curves overlap less. This is the lever researchers control best.
Larger significance level \(\alpha\)IncreasesThe cut-off moves closer to the null value, so rejecting is easier. The price is more Type I errors.
Larger effect size (true value further from the null value)IncreasesA big difference is easier to spot than a small one.
Less variability in the dataIncreasesLess noise, narrower curves. Better measurement or a more uniform population helps.

In the coin example, raising \(\alpha\) from 0.05 to 0.10 lifts the power from about 0.64 to about 0.77.

Common mistake“Increase the sample size” is the best answer to “how could the researchers increase power?” because it raises power without increasing the chance of a Type I error. Saying “increase \(\alpha\)” is correct but you should add that it also raises the probability of a Type I error.

The trade-off between the two errors

For a fixed sample size, you cannot make both errors rarer at the same time. Lowering \(\alpha\) from 0.05 to 0.01 makes false alarms rarer, but it demands stronger evidence before you reject. That means real effects are missed more often, so \(\beta\) goes up and power goes down. Raising \(\alpha\) does the opposite. To reduce both, collect more data.

So how do you choose \(\alpha\)? Ask which error has worse consequences:

  • If a Type I error is more serious (for example, approving a new drug that does not work and has side effects), use a smaller \(\alpha\) such as 0.01.
  • If a Type II error is more serious (for example, missing a dangerous fault in aircraft parts, or missing a disease in screening), use a larger \(\alpha\) such as 0.10 to raise power.

The value 0.05 is a convention, not a law of nature.

Exam tipOn an AP Statistics FRQ, a full-credit description of an error has three parts: the decision (reject or fail to reject), what is really true, and the context with the parameter in words. For example: “The group concludes that the proportion of all customers who are satisfied is less than 0.80 when in fact it is 0.80.” For “how could power be increased?”, give “increase the sample size” first and explain why: the standard deviation of the sampling distribution gets smaller. Cambridge and IB use the same definitions.

Practise: 6 questions

Try each one on paper first, then check the worked answer.

EasyQ1. A smoke alarm treats \(H_0\) as “there is no fire”. Describe a Type I error and a Type II error for the alarm. Show worked answer
Type I error: the alarm goes off (rejects “no fire”) when there is no fire. This is a false alarm.
Type II error: the alarm stays silent (fails to reject “no fire”) when there really is a fire. This is a missed fire, and it is clearly the more dangerous error, which is why alarms are designed to be sensitive.
EasyQ2. A test uses \(\alpha = 0.05\). For a particular alternative, \(\beta = 0.20\). What is the probability of a Type I error if \(H_0\) is true? What is the power? Show worked answer
\(P(\text{Type I error}) = \alpha = 0.05\).
Power \(= 1 – \beta = 1 – 0.20 = 0.80\).
So if this alternative is true, the test has an 80% chance of correctly rejecting \(H_0\).
MediumQ3. A researcher rejects \(H_0\) at the 5% level. Which type of error might she have made? Could she have made the other type? Show worked answer
She rejected \(H_0\), so the only possible error is a Type I error (rejecting a true \(H_0\)).
She cannot have made a Type II error, because a Type II error requires failing to reject \(H_0\).
MediumQ4. State whether each change increases, decreases or does not change power: (a) \(n\) from 50 to 200; (b) \(\alpha\) from 0.05 to 0.01; (c) the true value moves further from the null value. Show worked answer
(a) Increases. A bigger sample gives a smaller standard deviation of the statistic, so the null and alternative distributions overlap less.
(b) Decreases. A smaller \(\alpha\) needs stronger evidence to reject, so \(\beta\) rises and power falls.
(c) Increases. A larger effect is easier to detect.
MediumQ5. A blood test screens for a serious but treatable disease, with \(H_0\): the patient does not have the disease. Which error is more serious? Should the designers use \(\alpha = 0.01\) or \(\alpha = 0.10\)? Show worked answer
A Type II error (telling an ill patient they are healthy) is more serious, because treatment is delayed for a serious disease. A Type I error only leads to further tests.
To reduce the chance of a Type II error, use the larger \(\alpha = 0.10\). This raises power (lowers \(\beta\)), at the cost of more false alarms.
ExamQ6. A factory’s machine should produce at most 5% defective bolts. Each day an inspector takes a random sample and tests \(H_0: p = 0.05\) against \(H_a: p > 0.05\), where \(p\) is the proportion of all bolts made that day that are defective. If \(H_0\) is rejected, the machine is stopped for repair. (a) Describe a Type I error in context and give a consequence. [2 marks] (b) Describe a Type II error in context and give a consequence. [2 marks] (c) The power of the test against \(p = 0.10\) is 0.62. Interpret this value and give one way to increase it without changing \(\alpha\). [2 marks] Show worked answer
(a) Concluding that more than 5% of the day’s bolts are defective when in fact only 5% are [1]. The machine is stopped and repaired unnecessarily, wasting time and money [1].
(b) Not finding convincing evidence that more than 5% are defective when in fact more than 5% are [1]. Faulty bolts are sold to customers, causing complaints or safety problems [1].
(c) If 10% of bolts are really defective, there is a 0.62 probability that the test will correctly reject \(H_0\) and stop the machine [1]. Increase the sample size, which reduces the standard deviation of \(\hat{p}\) and so raises power [1].

Check yourself

1. A Type II error is:

A Type II error misses a real effect: \(H_0\) is false but you do not reject it.

2. If \(\beta = 0.15\), the power of the test is:

Power \(= 1 – \beta = 1 – 0.15 = 0.85\).

3. Which change raises power without raising the chance of a Type I error?

A larger \(n\) reduces variability of the statistic; \(\alpha\), and so the Type I error rate, stays the same.

Your score: 0 out of 3

The short version

  • Type I error: reject a true \(H_0\) (false alarm), probability \(\alpha\). Type II error: fail to reject a false \(H_0\) (missed effect), probability \(\beta\).
  • Always describe errors in context: the decision, the truth, and the parameter in words, plus a real consequence.
  • Power \(= 1 – \beta\) is the chance of detecting a real effect. It depends on which alternative is true.
  • Power rises with larger \(n\), larger \(\alpha\), larger effect size and less variability. Larger \(n\) is the best lever.
  • For fixed \(n\), lowering \(\alpha\) raises \(\beta\). Choose \(\alpha\) by asking which error is worse.
Want more questions like these, with worked answers?
The practice book has hundreds more, graded from easy to exam level.
Next: step 15 of 22Comparing Two Proportions