This simulation provides a dynamic supplement to elementary statistics textbooks that show how to use a table of standard normal cumulative probabilities. As you slide z1 along, holding z2 fixed at the upper limit, these probabilities are obtained as the area shown under the curve. Moving z2 to the left, the upper area probability is added to the area to the left of z1. The probability corresponding to the interval between z1 and z2 is obtained by taking the complement. You can see that the probability corresponding to the interval (−0.67, 0.67) is close to 0.5. This simulation also illustrates the 68–95–99.7 rule that, in a normally distributed population, about 68% of the observations fall within one standard deviation, 95% fall within two standard deviations, and 99.7% fall within three standard deviations.
The standard normal distribution is a normal (Gaussian) distribution with mean 0 and standard deviation 1. Its probability density function (PDF) is
The cumulative distribution function (CDF), giving the area under the PDF to the left of a value, is
When the complement box is unchecked, the shaded area is the sum of the two tails outside the interval $[z_1, z_2]$:
When the complement box is checked, the shaded area is the middle region between $z_1$ and $z_2$, i.e., the complement of the area above:
Definitions of terms
| $z$ | standard normal random variable (mean 0, standard deviation 1) |
| $f(z)$ | probability density function (PDF) of the standard normal distribution |
| $\Phi(z)$ | cumulative distribution function (CDF) of the standard normal distribution, i.e., $P(Z \le z)$ |
| $z_1,\, z_2$ | lower and upper limits set by the sliders ($z_1 \le z_2$) |
| Area | shaded probability: the two-tail area outside $[z_1,z_2]$, or, if complement is checked, the area between $z_1$ and $z_2$ |
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It is a JavaScript/HTML5 implementation of a Mathematica simulation by Ian McLeod. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.