1. Home
  2. Explore
  3. Statistics
  4. Hypothesis Testing Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Hypothesis Testing Overview

Speaker 1Speaker 2

Hypothesis Testing Overview

3:38
0:00-3:38
  1. Michael

    Alright Simon, let's tackle hypothesis testing. It's definitely trickier than confidence intervals, but we can break it down with a relatable example.

  2. Simon

    Perfect. I remember you saying you're a terrible free throw shooter, maybe 40%. But I think you're even worse—say 20%. How do we actually test that?

  3. Michael

    Exactly. In hypothesis testing, your claim becomes the null hypothesis, H₀: p = 0.2. My claim is the alternative, H₁: p > 0.2. p is my true probability of making a free throw.

  4. Simon

    So we need to collect data. Let's say you shoot 20 free throws. The number you make, X, follows a binomial with n=20 and unknown p. If you make 8 or more, that's evidence you're better than 20%.

  5. Michael

    But how do we decide where to draw the line? That's where the significance level, α, comes in. It's the probability of a Type I error—rejecting a true null hypothesis. Think of it like convicting an innocent person.

  6. Simon

    Right. In a court, we assume innocence until proven guilty. Here, we assume H₀ is true unless the evidence is strong enough. We choose α beforehand, often 5%. Then we find the critical region.

  7. Michael

    The critical region is the set of X values that would lead us to reject H₀. For α=0.05, we calculate the probability under H₀ (p=0.2) of getting X or more. We want that probability ≤ 0.05. Using the binomial, P(X ≥ 8) ≈ 0.032, which is less than 0.05. So if you make 8 or more, we reject H₀.

  8. Simon

    But what if you make 6? That's 30%, not bad. Under H₀, P(X ≥ 6) = 0.196. That's much bigger than 0.05, so we'd fail to reject H₀. Notice: we don't accept H₀; we just don't have enough evidence to reject it.

  9. Michael

    That's a key point. Failing to reject is like acquitting a defendant. It doesn't mean they're innocent; it means the evidence wasn't strong enough to convict. And the probability we just computed—0.196—is called the p-value.

  10. Simon

    P-value: the probability of observing a result as extreme or more extreme than what we saw, assuming the null is true. So for 6 makes, the p-value is 0.196. If it's less than α, we reject; otherwise, we fail to reject.

  11. Michael

    And here's the biggest mistake people make: they think the p-value is the probability that the null hypothesis is true. That's wrong! You can't calculate that from the data. The p-value is only about the data under the null, not about the null itself.

  12. Simon

    Right. The classical approach uses a fixed critical region. The modern approach, which is more common now, computes the p-value and then compares it to α. Both require thinking about Type I error and the practical consequences of your decision.

  13. Michael

    Exactly. And remember, α is a choice. You might pick 1% if a Type I error is catastrophic. But if you lower α, you increase the chance of a Type II error—failing to reject a false null. The only way to reduce both is to increase the sample size.

  14. Simon

    So to tie it all together: we set up hypotheses, choose α, collect data, compute a test statistic (like X or the sample proportion), find the p-value, and make a decision. And we always interpret the result in context, not just as a mathematical exercise.

  15. Michael

    Well said. And that's the foundation of hypothesis testing. Next time we can talk about testing for a mean, but for now, this gives us a solid start.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent