Skip to content

Metrics

Wilson score interval

Asymmetric confidence interval for binomial proportions (win rate). Yields robust lower and upper bounds on small samples without extreme boundary distortions.

An example

You win 11 of 20 trades: 55%. The 95% Wilson interval runs from roughly 34% to 74%: with so few trades, your true win rate could be anywhere in that range.

Why it matters

It tells you how many trades you need before trusting your win rate. It works better than the usual approximation when there are few trades or the win rate is near the extremes.

Formula

CI = (p̂ + z²/2N ± z√(p̂(1 − p̂)/N + z²/4N²)) / (1 + z²/N)

p̂: observed win rate, N: number of trades, z: 1.96 for 95% confidence

From the term to the number. See it in the demo.

The demo applies this vocabulary to 200 sample trades: every ratio with its sample size, every mistake with what it costs.