The normal distribution in this visualization
A random variable with the normal distribution has a bell-shaped density: the mean is at the peak and the standard deviation sets the width. The probability that falls between two values is the area under the curve between them. Here the curve stands over two rulers, for values and for standard units; you can move and , cut the line at and , and choose which ruler stays fixed on the screen.
Why is every normal curve the same curve? Fix the ruler and change or : the curve on the screen stays still. Instead the ruler slides and stretches underneath it, and the numbers on the density scale change. The cuts are values of , so they ride along with that ruler, and the shaded area changes only when their places on the ruler change. Every normal distribution is the standard normal read on another ruler, so , where is the area to the left of under the standard curve.
Where is on the curve? At the bend points. On the ordinary scale the curve bends downward between and and upward outside them. At these two inflection points the tangent crosses the curve. Because the shape never changes, the area within standard deviations of the mean does not depend on or : about 68.27% within one, 95.45% within two and 99.73% within three.
Why is a narrower curve taller? The whole area is always 1. Build it shows the two steps from the standard curve: moved to and stretched sideways by , the curve encloses an area of ; divided in height by , it encloses 1 again. So the peak is , and halving doubles it. The height is a density, probability per unit of ; only areas are probabilities.
How thin are the tails? On the ordinary scale the curve seems to meet the axis by about , yet it never reaches zero. On the log scale is a quadratic in , so the curve becomes a downward parabola and the tails fall ever faster: beyond on either side lies about 0.270% of the probability, beyond about 1 in 15,800, beyond about 1 in 507 million. On a log scale the area under the curve is no longer the probability, so the region is marked only on the ruler.
Things to notice
- If the scores of two exams are both modeled as normal, turn on the second ruler to compare one score from each. Each score sits at its own , and the one further right stands higher within its own group.
- The 68–95–99.7 rule belongs to the normal distribution. Other distributions can put quite different shares within standard deviations.
Controls
- With the ruler fixed, drag the ruler itself to change , or its tab to stretch it. Pulling the tab outward spreads the ruler out, which makes smaller.
- Every draggable handle also moves with the arrow keys. A typed cut may lie outside the view, which then moves to show it.