The Maths You Actually NeedLesson 54 of 76

Module 6 · Estimation: from a sample to a number you can trust

Zero failures in 300 tries, and what that does not prove

In this lesson

  • 8 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalCompute a standard error and a confidence interval for an accuracy figure by hand, say from the sample size and base rate whether the textbook interval can be trusted, bound a failure rate from a run with zero failures, derive an L2 or L1 penalty from a stated prior on the weights, and predict how much the best of k noisy candidates will fall back when re-measured.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

The most common wrong sentence in a release note

“We ran it 300 times and it never failed.” The sentence is true, and the conclusion people draw from it, that the failure rate is zero or near enough, is not. Zero observed failures is evidence, and the question is how much. The answer fits on one line.

Deriving the rule

Suppose the true failure rate is p and the trials are independent. The chance of seeing no failures in n trials is (1 − p)^n. Ask: what is the largest p for which zero failures would still be unsurprising, say at least 5 per cent likely?

Text
(1 − p)^n = 0.05
n × ln(1 − p) = ln 0.05 = −3.0
n × (−p) ≈ −3.0          (since ln(1 − p) ≈ −p for small p)
p ≈ 3 / n

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘Zero failures in 300 tries, and what that does not prove’, in The Maths You Actually Need. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/maths-you-need/the-rule-of-three (Accessed: 29 November 2026).