Hypothesis Testing

Hypothesis testing formalises one question: could this result plausibly have arisen by chance alone?

The procedure

  1. State H0H_0 and H1H_1. The null is the boring default, usually "no effect": the strategy has zero edge, the coin is fair. The alternative is what you would need evidence for.
  2. Choose α\alpha, the tolerance for false alarms, conventionally 0.050.05.
  3. Compute a test statistic, which expresses the result in units of noise. For a mean:
The t statistic
t=xˉμ0s/nt = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}

How many standard errors the estimate sits from the null, which is the only question the test asks.

  1. Compare against the critical value, or equivalently compute a p-value and compare with α\alpha.

The test statistic is the whole idea in one expression: the gap between what you saw and what the null predicts, divided by how much such a gap would vary by chance.

The rest of this lesson is for subscribers

Unlock every lesson in Fundamentals of Probability and Statistics, and every other premium course.

Subscribe to continue

Test your knowledge

Questions are only available to subscribers.

Keep reading Fundamentals of Probability and Statistics

41 lessons in this course, and every other premium course, on one subscription.

  • Every lesson in every course, with the worked examples and interactive simulators
  • Graded questions on every lesson, with explanations for the wrong answers as well as the right one
  • The trainers, timed assessments and brainteaser library that go with them