Four distributions in this course came from four different mechanisms and have four different shapes. A fifth shape appears in measurement after measurement without any obvious mechanism behind it at all, and this lesson takes it as given, learns to compute with it, and is honest about where it does not belong. Why it is unavoidable is the next lesson.
The curve and its two parameters
The normal or Gaussian density is
and although it looks arbitrary, each piece has a job. The exponent is a negative multiple of the squared distance from , so the curve is symmetric about and falls away in both directions. It falls extremely fast, because the exponent grows with the square of the distance, and this is what makes the tails so thin. The in the denominator of the exponent sets the horizontal scale, so the curve is wide when is large. The factor in front is fixed by the requirement that the total area equal , and the is the constant that makes it so, a result from calculus that this course takes on trust.
The parameters are exactly the mean and the standard deviation, both of which follow from the symmetry and from an integral. So a normal distribution is completely determined by its first two moments, which is a strong and unusual property: for a binomial you also need and separately, and for most families two numbers do not fix the shape.
Abraham de Moivre found the curve in 1733 as an approximation to the binomial for large , in a private pamphlet, and it lay unused. Carl Friedrich Gauss arrived at it again in 1809 from a completely different direction, asking what error distribution would make the arithmetic mean the best estimate of a measured quantity, and found this one. Two unrelated routes to the same curve was the first hint that something general was going on.
One curve, one table
The density has no elementary antiderivative, so areas under it cannot be written in closed form and must be looked up or computed numerically. Doing that separately for every and would be hopeless, and the scaling rule from the variance lesson removes the need. Standardise:
which has mean and variance , and which is still normal, because subtracting and dividing by constants only shifts and stretches the curve. So every normal question reduces to a question about the standard normal, whose cumulative function is written . One table, or one library function, serves every case.
The recipe is mechanical. To find , compute and read . To find a probability between two values, subtract. For the upper tail use , and use the symmetry to avoid needing negative arguments at all.
The figures everyone quotes come straight out of this. The area within one standard deviation of the mean is . Within two it is , within three , and within four . Rounded, that is the , , rule, and it is worth noticing how brutal the decay is: the chance of landing beyond four standard deviations is about in , and beyond five about in million. Compare Chebyshev's guarantee from the earlier lesson, which allowed up to beyond three standard deviations for an arbitrary distribution against the normal's . Assuming normality buys enormous precision in the tails, and losing that assumption is expensive in exactly the same place.
Example. A population of adult men has mean height cm with standard deviation cm, close to the figures reported for England. What proportion are taller than cm?
Standardise: . Then , so the upper tail is , about percent, or one man in .
Now you. For the same population, what proportion are between and cm tall?
Answer
Those bounds are exactly one standard deviation either side of the mean, so the answer is , about percent.
Reading the table backwards
The recipe above answers "what fraction lies beyond this value". The reverse question, "what value has this fraction beyond it", is answered by running backwards, and it is the form most decisions take.
Two values are worth memorising because they appear everywhere. , so five percent of a normal distribution lies above standard deviations from the mean. And , so two and a half percent lies above standard deviations and, by symmetry, ninety-five percent lies within . That second figure is where the ubiquitous "" in confidence intervals and polling margins comes from, and the next lesson derives that use of it in full.
Converting back to the original units is the scaling rule in reverse: the value with fraction below it is . For the height population above, the ninety-fifth percentile is cm, and the fifth percentile is cm. A design that must fit ninety-five percent of the population is sized to the first of those, and the five percent it excludes are the price of the choice, stated rather than hidden.
Percentile talk is normal-curve talk in disguise wherever it is used on test scores, growth charts and reference ranges. The clinical convention of flagging results outside the central ninety-five percent of a reference population is exactly the rule, and it guarantees that one healthy person in twenty is flagged, which is the multiple comparisons problem of the last lesson waiting to happen.
Normal plus normal is normal
One property makes the normal indispensable in practice: independent normal variables add to a normal variable. If is normal with mean and variance , and is independent normal with and , then is normal with mean and variance .
The means and variances combining that way is nothing new, since linearity and independent additivity were proved for all variables. What is new is that the shape is preserved. Add two uniforms and you get a triangle, not a uniform. Add two exponentials and you get something with a peak away from zero. The normal is a fixed point of addition, and combined with the fact that it approximates so much else, that is why it propagates through any calculation that adds things up.
Example. A component's length is normal with mean mm and standard deviation mm. Four are stacked end to end, independently. What is the distribution of the total length, and what fraction of stacks exceed mm?
The total is normal with mean mm and variance , so its standard deviation is mm, not mm. Then , so the fraction above is , about percent.
Now you. Nine such components are stacked. What are the mean and standard deviation of the total length?
Answer
Mean mm. Variance , so the standard deviation is mm. Nine times the components, three times the spread.
Approximating the binomial
De Moivre's original purpose still works, and it is the practical way to handle a binomial with large . A variable has mean and variance , and for large its mass function is closely matched by the normal curve with those parameters.
One adjustment is needed. The binomial is discrete and the normal is continuous, so a bar of the mass function at is represented by the strip of normal area from to . Using those half-unit boundaries is the continuity correction, and skipping it is the usual source of a poor approximation.
Take fair coin tosses and ask for . The mean is and the standard deviation is . With the correction, the boundary is , so and the tail is . The exact binomial answer is , so the error is under one percent of the value. Without the correction the boundary would be , giving and , which is wrong by twenty percent. The correction is not a refinement, it is the difference between a usable answer and a bad one.
The approximation is good when and both comfortably exceed about , which keeps the binomial from being squashed against either boundary. When is tiny and is small, the right approximation is the Poisson of the earlier lesson instead.
Example. A fair coin is tossed times. Estimate the probability that the number of heads differs from by at least , and compare with the exact value.
The boundaries with continuity correction are , so and the two-sided tail is . The exact binomial value is . Chebyshev, for the same question, allowed anything up to .
Now you. For the same tosses, estimate using the normal approximation with continuity correction.
Answer
The boundary is , so and the answer is . The exact binomial value is as well, to four places.
Where the curve does not belong
The normal is a model, and it is applied far outside the range where it is warranted. Three failures are worth being able to spot.
The curve extends to infinity in both directions, so a normal model always assigns positive probability to negative values. For heights with mean cm and standard deviation cm, negative height is twenty-five standard deviations out and the probability is unimaginably small, so the defect is harmless. For a quantity whose mean is close to zero relative to its spread, such as a rainfall total or a waiting time, the defect is fatal, and the model will predict impossible outcomes at a noticeable rate.
Second, the tails are extraordinarily thin, and many real quantities have tails that are not. Daily returns on financial assets are the standard example: moves of more than five standard deviations should occur roughly once in years of trading days under a normal model, and they occur every few years. Insurance losses, city sizes, file sizes and word frequencies behave similarly. Fitting a normal to such data produces a model that is comfortable, tractable and wrong precisely about the events that matter, which is worse than having no model.
Third, quantities generated by multiplication rather than addition are not normal but log-normal: their logarithm is normal, and their own distribution is skewed right with a long tail. Incomes, particle sizes and biological growth often behave this way, since the next value is the previous one times a random factor. The tell is a distribution whose mean noticeably exceeds its median.
A good habit is to ask why the quantity should be normal before assuming it is. The honest answer is usually that it is a sum of many small independent contributions, and that answer is a theorem rather than a hope. Stating that theorem, and the companion result about why averages settle down at all, is the next lesson.