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

Composite Hypotheses, p-Values, and the Significance Trap

The previous note proved a UMP test generally does not exist once a null hypothesis is challenged from both sides — the overwhelmingly common shape of a real testing question ("is this strategy's Sharpe ratio different from zero," not just "above" it). This note does two things with that gap. First, it works through what a two-sided test looks like in practice, splitting the significance level across both tails. Second, and more importantly, it replaces the binary reject/accept decision with the continuous-valued pp-value almost every applied paper actually reports — defines it precisely, proves the single most useful fact about it (its distribution under H0H_0 is exactly Uniform(0,1)\text{Uniform}(0,1)), and then spends real space on the significance trap: the specific, well-documented ways a pp-value gets misread, misused, and — in a research pipeline that tries many strategies before reporting one — silently inflated. This is the note that turns "the test rejected at 5%5\%" from a slogan into something a quant desk should read with real care.
Learning objectives. By the end of this note you should be able to:
  • construct a two-sided rejection region and explain why it splits α\alpha across both tails rather than concentrating it on one;
  • define the pp-value precisely as a function of the observed data, and compute it for one- and two-sided tests;
  • prove that the pp-value is Uniform(0,1)\text{Uniform}(0,1)-distributed under a simple null hypothesis;
  • state, precisely, what a pp-value is not (a posterior probability that H0H_0 is true) and why the confusion is so common;
  • identify the specific practices — pp-hacking, optional stopping, the garden of forking paths — that invalidate a naively computed pp-value in a research pipeline.

In this lesson

  1. The two-sided test
  2. The pp-value
  3. The pp-value is Uniform(0,1)\text{Uniform}(0,1) under H0H_0
  4. Choosing which hypothesis is null
  5. The significance trap

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.