Great question! The terms "3 sigma" and "5 sigma" refer to how many standard deviations (σ) away from the mean a value lies in a normal (Gaussian) distribution, and the associated confidence levels correspond to the probability that a measurement falls within that many standard deviations.
Background: The Normal Distribution
A normal distribution is symmetric about the mean (μ), with spread characterized by the standard deviation (σ). For a normal distribution:
- About 68.27% of data falls within ±1σ,
- About 95.45% falls within ±2σ,
- About 99.73% falls within ±3σ,
- And so on.
These values come from integrating the probability density function (PDF) of the normal distribution over the interval from (\mu - k\sigma) to (\mu + k\sigma), where (k) is the number of sigmas.
How to compute the confidence level for k sigma?
Given a standard normal distribution ( Z \sim N(0,1) ), the confidence level for ±k sigmas is:
[
P(|Z| \leq k) = P(-k \leq Z \leq k) = \Phi(k) - \Phi(-k) = 2\Phi(k) - 1
]
where (\Phi(k)) is the cumulative distribution function (CDF) of the standard normal distribution at value (k).
Step-by-step calculation
- Find (\Phi(k)) for the given (k):
[
\Phi(k) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^k e^{-\frac{t^2}{2}} dt
]
- Calculate the two-sided probability:
[
P = 2 \Phi(k) -1
]
- Result gives the probability that a measurement is within ±k sigmas of the mean.
Examples
[
P = 2 \Phi(3) -1
]
Using standard normal tables or software:
[
\Phi(3) \approx 0.99865
]
So,
[
P \approx 2 \times 0.99865 - 1 = 0.9973 = 99.73%
]
[
P = 2 \Phi(5) - 1
]
We look up (\Phi(5)):
[
\Phi(5) \approx 1 - 2.87 \times 10^{-7} = 0.999999713
]
Therefore,
[
P \approx 2 \times 0.999999713 - 1 = 0.999999426 = 99.9999426%
]
Rounded, about 99.99994%.
Intuition
- As the sigma level increases, the range ±kσ covers more extreme parts of the distribution tails.
- The confidence level approaches 100%, but never quite reaches it (because the normal distribution has infinite tails).
- The "sigma" terminology is often used in fields like physics to express the improbability of a result being a fluke under the null hypothesis.
Summary
- The confidence interval associated with (k) sigma is (P = 2 \Phi(k) - 1).
- For (k=3), (P \approx 99.7%).
- For (k=5), (P \approx 99.99994%).
If you'd like, I can also show you how to compute these values in Python or with a calculator!