Confidence intervals
A range of plausible values for a measured effect.
A confidence interval shows how precise an estimate is. A wide interval that crosses zero says the data cannot tell you much yet. Intervals are more informative than a bare p-value.
Why it matters for a product engineer
Every number from a sample is an estimate. A confidence interval shows how precise it is: the range of values that fit the data. “22%, between 9% and 35%” says much more than “22%”. It tells you when to act, and when to wait for more data.
How to do it
- Report every rate or difference with its interval, not alone.
- For a share, a quick 95% interval is the share plus or minus 1.96 × √(p × (1 − p) ÷ n).
- For a difference between two groups, look at the interval of the difference. If it includes zero, the data cannot tell the groups apart yet.
- Ask whether every value inside the interval would lead to the same decision. If yes, decide. If no, collect more data.
- Remember that the interval only covers random noise, not a biased sample or a broken event.
Common mistakes
- Reporting a percentage from a small sample with no interval.
- Reading “95% confidence” as “95% chance the true value is in this range” and then treating the middle as certain.
- Ignoring an interval that crosses zero because the middle looks good.
- Narrow intervals from biased data, trusted because they are narrow.
Example
Superhuman’s founder wrote that a product-market fit survey starts to give “directionally correct results” at about 40 answers. Directional is the right word. If 22% of 40 people say they would be very disappointed without the product, the 95% interval runs from about 9% to 35%. It takes about 1,000 answers to narrow it to a few points either way.
22% measured, and the 95% interval, by number of answers
- 40 answers: 9% to 35%12.8 points
- 100 answers: 14% to 30%8.1 points
- 400 answers: 18% to 26%4.1 points
- 1,000 answers: 19% to 25%2.6 points
Each bar is the margin either side of 22%. Four times the answers halves the margin.
Calculated with the normal approximation, 95% confidence
Sources: Seeing Theory (Brown University) ↗ · How Superhuman built an engine to find product-market fit (First Round Review) ↗
Resources
1- courseStart here
Seeing Theory: a visual introduction to probability and statistics ↗
Daniel Kunin and others (Brown University) · 2017Interactive visualizations of distributions, inference and confidence intervals. The fastest way to build intuition for the basics.
Tools
1- ToolFree
Evan's Awesome A/B Tools
Free calculators for sample size, significance of results and sequential tests.