Skip to content
Probability, Statistics and Financial Data / Neyman-Pearson Theory and Uniformly Most Powerful Tests

The Hypothesis Testing Framework

A backtest reports an annualised Sharpe ratio of 0.60.6 on three years of daily returns. Is that skill, or noise dressed up as skill? Point estimation hands back a single number — SR^=0.6\widehat{\text{SR}}=0.6 — and stops there; interval estimation wraps that number in a range. Hypothesis testing asks a sharper, binary question instead: is 0.60.6 consistent with a genuine Sharpe ratio of zero, or is it surprising enough that "zero skill" should be rejected as an explanation? This note builds the formal vocabulary — null and alternative hypotheses, the two ways a test can be wrong, the power function that tracks both simultaneously, and the rejection region a decision rule ultimately reduces to. It is deliberately a vocabulary lesson: no test built here is yet claimed to be good. That question — what is the best possible test for a given testing problem — is exactly what the Neyman-Pearson lemma answers next, and this note's duality with confidence intervals — already stated from the interval-estimation side — is the same machinery worn inside out.
Learning objectives. By the end of this note you should be able to:
  • state a null hypothesis H0H_0 and alternative hypothesis H1H_1 for a testing problem, and distinguish simple from composite hypotheses;
  • define Type I and Type II errors, the significance level α\alpha, and the power 1−β1-\beta, and compute both error probabilities for a stated rejection rule;
  • define the power function β(θ)\beta(\theta) of a test and sketch its qualitative shape for a one-sided test;
  • construct a rejection region for a test statistic with known null distribution, given a target significance level;
  • explain the built-in asymmetry between H0H_0 and H1H_1 and why it, not mathematics alone, drives the choice of which hypothesis is "null."

In this lesson

  1. Hypotheses, simple and composite
  2. Type I and Type II errors, and the asymmetry of the paradigm
  3. The power function
  4. Test statistics and rejection regions

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Probability, Statistics and Financial Data syllabus.