Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

This cheat sheet covers how p-values, significance levels, and error types work in hypothesis testing. Students need these ideas to decide whether sample data give strong enough evidence against a null hypothesis. It helps connect the decision rule to the real-world meaning of rejecting or failing to reject a claim. It also shows how errors and power describe the reliability of a statistical test. The core idea is to compare the p-value to the significance level α\alpha. If pαp \leq \alpha, reject H0H_0; if p>αp > \alpha, fail to reject H0H_0. A Type I error means rejecting a true H0H_0, with probability α\alpha, while a Type II error means failing to reject a false H0H_0, with probability β\beta. Power is the probability of correctly rejecting a false null hypothesis, given by 1β1 - \beta.

Key Facts

  • The null hypothesis H0H_0 is the starting claim, often a statement of no effect, no difference, or equality.
  • The alternative hypothesis HaH_a is the claim supported when the data provide strong evidence against H0H_0.
  • A p-value is the probability, assuming H0H_0 is true, of getting a test statistic at least as extreme as the observed one.
  • The decision rule is reject H0H_0 if pαp \leq \alpha and fail to reject H0H_0 if p>αp > \alpha.
  • A Type I error occurs when a true H0H_0 is rejected, and its probability is α\alpha.
  • A Type II error occurs when a false H0H_0 is not rejected, and its probability is β\beta.
  • The power of a test is the probability of rejecting a false H0H_0, so power=1β\text{power} = 1 - \beta.
  • Lowering α\alpha makes Type I errors less likely but can make Type II errors more likely if the sample size stays the same.

Vocabulary

Null hypothesis
The null hypothesis H0H_0 is the default claim tested by the data, usually stating no change, no difference, or no effect.
Alternative hypothesis
The alternative hypothesis HaH_a is the competing claim that the test seeks evidence to support.
P-value
A p-value is the probability of observing results at least as extreme as the sample result, assuming H0H_0 is true.
Significance level
The significance level α\alpha is the cutoff probability for deciding whether the evidence is strong enough to reject H0H_0.
Type I error
A Type I error happens when the test rejects H0H_0 even though H0H_0 is actually true.
Power
Power is the probability that a test correctly rejects a false null hypothesis, equal to 1β1 - \beta.

Common Mistakes to Avoid

  • Saying the p-value is the probability that H0H_0 is true is wrong because a p-value assumes H0H_0 is true and measures how unusual the data are under that assumption.
  • Rejecting H0H_0 when p>αp > \alpha is wrong because the data are not statistically significant at that chosen significance level.
  • Claiming that failing to reject H0H_0 proves H0H_0 is true is wrong because the test may simply lack enough evidence or power to detect an effect.
  • Confusing Type I and Type II errors is wrong because Type I means rejecting a true H0H_0, while Type II means failing to reject a false H0H_0.
  • Thinking a smaller p-value proves a larger effect is wrong because the p-value depends on sample size, variability, and effect size.

Practice Questions

  1. 1 A hypothesis test gives p=0.032p = 0.032 with α=0.05\alpha = 0.05. Should you reject H0H_0 or fail to reject H0H_0?
  2. 2 A test has β=0.18\beta = 0.18. What is the power of the test?
  3. 3 A medical screening test uses α=0.01\alpha = 0.01. What is the probability of a Type I error if the null hypothesis is true?
  4. 4 Explain why lowering α\alpha can reduce the chance of a Type I error but may increase the chance of a Type II error.