STD Normal Dist Formul Proof
STD Normal Dist Formul Proof
Yes! The 68-95-99.7 Rule (Empirical Rule) comes from the properties of the normal
distribution and can be proven using integrals of the normal probability density function
(PDF).
1 −
(x−μ)2
f (x) = e 2σ2
σ 2π
where:
μ is the mean
σ is the standard deviation
The area under the entire curve is 1 (since it's a probability distribution).
b
1 −z 2 /2
P (a ≤ Z ≤ b) = ∫ e dz
2π
a
X−μ
where Z is the standard normal variable (Z = σ ).
1/6
1
1 −z 2 /2
P (−1 ≤ Z ≤ 1) = ∫ e dz ≈ 0.6827
2π
−1
2
1 −z 2 /2
P (−2 ≤ Z ≤ 2) = ∫ e dz ≈ 0.9545
2π
−2
3
1 −z 2 /2
P (−3 ≤ Z ≤ 3) = ∫ e dz ≈ 0.9973
2π
−3
2/6
python
3/6
plt.ylabel("Frequency")
plt.legend()
plt.show()
python
# Re-import necessary libraries since execution state was reset Always show details
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
4/6
({within_two_std:.2f}%)')
plt.axvline(two_std_range[1], color='orange', linestyle='dashed')
Result
Here’s the histogram of the normally distributed data along with the standard deviation
ranges. The computed percentages of data within each range are:
5/6
3 standard deviations (±3σ): ≈ 99.76% (Expected: 99.73%)
These values closely match the theoretical Empirical Rule, confirming that a normal
distribution follows these probabilities in real-world data. 🚀
6/6