1. Home
  2. Steve Brunton

Oct 6, 2025

Why hypothesis testing starts by assuming nothing changed

10 min → 1:47

Overview

Instructor Steve Brunton explains how to conduct statistical hypothesis testing, calculate p-values, and avoid Type I and Type II errors when determining if an observed change is simply due to random chance.

3 things to know

Brunton: A null hypothesis is a straw man to disprove

Steve Brunton explains that the null hypothesis is a default straw man assumption of no change or effect that a statistical test aims to disprove.

More

The default assumption that there is no change or no effect.

▶ Watch at 1:08

Brunton: Enough evidence means you might accept an alternative hypothesis

Steve Brunton says the alternative hypothesis states a statistically significant change happened, which you might accept if you have enough evidence to reject the null hypothesis.

More

The hypothesis that there is a statistically significant change or effect.

▶ Watch at 1:57

Small p-values suggest data is unlikely under null, Brunton says

Steve Brunton says a small p-value, such as under 0.05, suggests that the observed data is unlikely if the null hypothesis were actually true.

More

The probability of observing your data (or something more extreme) if the null hypothesis were actually true.

▶ Watch at 5:47

Also in this episode

Brunton says larger Z-scores indicate more extreme observations

Steve Brunton explains that a Z-score measures how many standard errors an observed sample mean is from the expected mean under the null hypothesis, with a larger Z-score indicating a more extreme observation.

More

A calculated value that measures how many standard errors an observed sample mean is from the expected mean under the null hypothesis.

Chosen p-values determine the rejection region size, Brunton says

Steve Brunton explains that the chosen p-value determines the size of the rejection region, the range of test statistic values where you reject the null hypothesis.

More

A range of values for the test statistic. If the calculated test statistic falls into this region, you reject the null hypothesis.

False positive odds match the p-value, says Steve Brunton

Steve Brunton defines a Type I error, or false positive, as rejecting a true null hypothesis, noting the probability of this mistake equals the p-value.

More

The error of rejecting the null hypothesis when it is actually true.

Brunton says failing to reject a false null is error

Steve Brunton says a Type II error, or false negative, is the error of failing to reject the null hypothesis when it is actually false, with a probability called beta.

More

The probability is denoted by beta (β).

Quotes

“And you set up a straw man or a dummy hypothesis called the null hypothesis.”

▶ Watch at 1:08

“That gives you some measure of how likely or unlikely it is to observe this data, assuming the null hypothesis that it came from this distribution.”

▶ Watch at 1:57

“A Type I error is where H-nought is actually true... but you falsely rejected the null hypothesis.”

▶ Watch at 5:47

Full summary

Episode Overview

  • This episode provides a foundational overview of hypothesis testing, a formal statistical method used to determine if an observed change is statistically significant or simply due to random chance.
  • The instructor breaks down the core components, including the null hypothesis (no change) and the alternative hypothesis (a change occurred), using examples like testing a new drug.
  • The step-by-step procedure for conducting a hypothesis test is explained, focusing on assuming the null hypothesis, defining a test statistic (Z-score), and calculating a p-value.
  • The concepts of Type I and Type II errors are introduced, clarifying the risks of making incorrect conclusions (false positives and false negatives) based on statistical results.

Key Concepts

  • Null Hypothesis (H₀): The default assumption that there is no change or no effect. It's the "straw man" hypothesis that the statistical test aims to disprove.
  • Alternative Hypothesis (Hₐ): The hypothesis that there is a statistically significant change or effect. This is what you might accept if you have enough evidence to reject the null hypothesis.
  • Test Statistic (Z-score): A calculated value that measures how many standard errors an observed sample mean is from the expected mean under the null hypothesis. A larger Z-score indicates a more extreme observation.
  • Significance Level (p-value): The probability of observing your data (or something more extreme) if the null hypothesis were actually true. A small p-value (e.g., < 0.05) suggests that the observed data is unlikely under the null hypothesis.
  • Rejection Region: A range of values for the test statistic. If the calculated test statistic falls into this region, you reject the null hypothesis. The size of this region is determined by the chosen p-value.
  • Type I Error (False Positive): The error of rejecting the null hypothesis when it is actually true. The probability of making a Type I error is equal to the p-value.
  • Type II Error (False Negative): The error of failing to reject the null hypothesis when it is actually false. The probability is denoted by beta (β).

Quotes

  • At 01:08 - "And you set up a straw man or a dummy hypothesis called the null hypothesis." - Explaining that the null hypothesis is created specifically to be challenged by the data.
  • At 01:57 - "That gives you some measure of how likely or unlikely it is to observe this data, assuming the null hypothesis that it came from this distribution." - Describing the purpose of the test statistic (Z-score) in evaluating the evidence against the null hypothesis.
  • At 05:47 - "A Type I error is where H-nought is actually true... but you falsely rejected the null hypothesis." - Providing a clear definition of a Type I error, also known as a false positive.

Takeaways

  • Hypothesis testing begins by assuming the "no change" scenario (the null hypothesis) is true and then uses data to see if that assumption is unlikely.
  • The p-value is a critical metric that quantifies the probability that your observed results occurred by random chance alone. A common threshold for statistical significance is a p-value of less than 0.05.
  • When you reject the null hypothesis, you are concluding that a real effect exists, but there is always a risk that you are wrong. This risk of a "false positive" is known as a Type I error, and its probability is equal to your chosen p-value.
  • A Type II error, or "false negative," occurs when you fail to detect an effect that is actually present. Designing a powerful test involves minimizing the probability of both Type I and Type II errors.

Watch the full episode 10 min

Read along with the audio summary

The instructor asks how you can tell if an observed change, like when testing a new drug, is statistically significant or simply due to random chance. This episode came out on October 6, 2025, and features the instructor breaking down the formal statistical method of hypothesis testing.

Why you must start by assuming nothing changed. The instructor explains that you begin by setting up a straw man or dummy hypothesis called the null hypothesis, or H nought.

How to frame the real change you are looking for. If you gather enough evidence to reject that straw man, you might accept the alternative hypothesis.

Measuring just how extreme your data really is. A test statistic, called a Z score, calculates how many standard errors an observed sample mean is from the expected mean under the null hypothesis.

The number that reveals if your results are a fluke. When evaluating data, you can look for a small p value, such as less than zero point zero five, to see if your observed data is unlikely under the null hypothesis.

Drawing the line where an assumption fails. Your chosen p value determines the size of the rejection region, a specific range of values for the test statistic. If your calculated test statistic falls into this region, you reject the null hypothesis.

The hidden risk of seeing an effect that is not there. Even when you reject the null hypothesis, you risk a Type One error, or a false positive, where the null hypothesis is actually true.

The danger of missing a real change. A Type Two error, or a false negative, happens when you fail to reject a null hypothesis that is actually false, a probability denoted by beta.

Hypothesis testing starts by assuming no change and uses data to see if that assumption is unlikely. Designing a powerful test involves minimizing the probability of both Type One and Type Two errors.

More from Steve Brunton

Related Episodes