Normal Distribution · Slides

Intro to Statistics · Probability

Normal Distribution

From samples to the bell curve, Z-scores and the Z-table

1 · Population and sample

Population ≠ "People or human necessarily"

PopulationEvery item we want to know about: all the people, packets, bolts, transactions or T-shirts that fit our question.
SampleThe part of the population we actually pick and measure.

A population does not have to be all the humans of a country or a city, and it does not necessarily have to be human: it may be human or may not be. It may be milk packs, bolts, invoices or T-shirts, whatever we want to measure and study.

1 · Population and sample

Examples

PopulationSample
Only about 50 people in the world are known to have the Rh-null blood group.The population is so small that we can study all of them. This is a census: when the population is tiny, sampling isn't needed.
Aarong Dairy produces about 5 million packs of 500 ml pasteurised milk a year in Bangladesh (illustrative).Pick 60 packs of Aarong 500 ml milk from 60 different shops.
A nut-bolt factory makes 10 million bolts a year.Pick 200 bolts at random across all shifts and measure each one's diameter.
Bangladesh produces about 2–3 billion T-shirts a year for export (approx.).Each buying house inspects a sample of every order, as per AQL, which is about 3%, to check it meets their specs.

1 · Population and sample

Same idea, two sets of symbols

Population (the truth we want)Sample (what we measure)
Meanμ (mu)x̄ (x-bar)
Standard deviationσ (sigma)s
SizeNn

We use the sample's numbers (x̄, s) to learn about the population's numbers (μ, σ).

2 · Sampling distribution

One sample is not the whole story

If we take a new sample, we get a slightly different mean. Take many samples, write down each mean, and those means form their own distribution: the sampling distribution of the mean.

Example 1 · Aarong milkEvery week, QC picks 60 packs and records the average volume. Week 1: 499.6 ml, week 2: 500.3 ml, week 3: 500.1 ml … After a year we have 52 averages, and they cluster tightly around 500 ml.
Example 2 · BoltsEach shift, 30 bolts are measured and the average diameter is recorded: 10.02 mm, 9.98 mm, 10.01 mm … The shift averages bunch up around 10 mm, much closer together than single bolts do.

2 · Sampling distribution · try it

Sample means become bell-shaped

Waiting time at an agent shop (minutes). It is skewed, not bell-shaped. μ = 4, σ = 4

Each bar counts averages of 30 waiting times, not single waiting time.
x̄ = Σxn, n = 30
Mean of x̄ = Σx̄k –
SD of x̄ = Standard error (SE) –Expected mean ≈ 4.00
Expected SE = σ ÷ √n = 4 ÷ √30 ≈ 0.73
0 rounds so far
Try them

Both charts use the same 0–15 minute axis. Averages move up and down much less than single waiting times, because very long and very short waits cancel out. SE = how far a sample average usually is from the true average.

2 · From sampling distribution to normal

Central Limit Theorem

If the population is normal, or the sample size n ≥ 30,
then the sample means follow a normal distribution.
CentreThe averages centre on the population mean μ.
Spread: averages are steadier than single itemsBolts: μ = 10 mm. One bolt usually misses 10 mm by σ = 0.1 mm (e.g. 9.9 or 10.1).
An average of 25 bolts is still about 10 mm, but usually misses by only 0.1 ÷ √25 = 0.1 ÷ 5 = 0.020 mm (e.g. 9.98 or 10.02).
This usual miss of the average, σ ÷ √n, is the standard error (SE).
ShapeBell-shaped, even when single items are skewed.

This is why the normal distribution sits at the heart of statistics.

Try it: on slide 11, press 100 rounds of sampling and compare the typical error with 4 ÷ √30 = 0.730.

2 · Where √n comes from

Why do averages spread less?

Why averages spread less

1
Ups and downs cancelIn a sample of 30 waits, some are long and some are short. When we add them, the long ones and the short ones partly cancel.
2
So an average is steadier than one itemOne wait can be far from 4 minutes. An average of 30 waits rarely is, because one very long wait is pulled back by the short ones.

Where √n comes from

3
The total grows slower than nIf all waits were long together, the total of n waits would spread n times as much as one wait. They are not: some go up, some go down, and most of the pushes cancel. What is left grows only with √n: 4 items spread 2 times as much as one item, 25 items 5 times, 100 items 10 times.
4
The average divides by nThe average is the total ÷ n. So it spreads √n ÷ n = 1 ÷ √n times as much as one item. That gives σ ÷ √n.

2 · Where √n comes from

From the total to the average: σ ÷ √n

Spread of the total of n items = √n × σ
Average = total ÷ n
Spread of the average = √n × σ ÷ n = σ ÷ √n = standard error (SE)
Example · Boltsμ = 10 mm, σ = 0.1 mm, n = 25.
Total of 25 bolts ≈ 250 mm, usually misses by √25 × 0.1 = 0.500 mm.
Average ≈ 10 mm, usually misses by 0.500 ÷ 25 = 0.020 mm = 0.1 ÷ √25.
Example · Waiting times (slide 7)σ = 4 minutes, n = 30.
SE = 4 ÷ √30 = 4 ÷ 5.477 = 0.730 minutes.
That is the SE the simulation finds after many rounds.

SE = how far a sample average usually is from the true average.

2 · Standard error · try it

How far does our average usually miss?

x̄ is our guess for μ. The gap x̄ − μ is our miss, called an error. Standard error = the usual size of our miss when we use x̄ for μ. Waiting times: μ = 4, σ = 4.

Sample size n:

This round's sample: 30 waiting times
dashed line: population, μ = 4, σ = 4

Usual distance of one waiting time from μ: σ = 4.000
Typical error: square each miss, average them, take the square root.

Each round = 1 sample of 30 waiting times → 1 average
0 averages so far

Formula σ ÷ √n: 4 ÷ √30 = 4 ÷ 5.477 = 0.730
This sample's error: –
Typical error so far: –

2 · Where √n comes from

Two extreme cases

Nothing cancelsAll items are always high together or low together. The average moves as much as one item.
Spread = σ
Real random dataHighs and lows are independent, so they partly cancel.
Spread = σ ÷ √n
Everything cancelsEvery high item is matched exactly by a low one. The average never moves.
Spread = 0

When n = 1, SE = σ ÷ √1 = σ. The average of one item is just that item, so one formula covers both cases.

3 · The normal distribution

The bell curve

Histogram, frequency polygon and normal curve (mean 50, SD 10) with areas between each σ: 34.1%, 13.6%, 2.1%, 0.1% on each side
300 values, mean 50, SD 10: the histogram's outline approaches the smooth normal curve

A normal distribution is fixed by just two numbers:

μ = centre
σ = spread

3 · The normal distribution

Three properties

1
Symmetric bell shapeThe left half mirrors the right half. Mean = median = mode, all at the peak.
2
Tails never touch the axisThe curve gets closer and closer to zero on both sides but never reaches it.
3
Total area = 1 (100%)Area under the curve is probability. About 68% lies within ±1σ, 95% within ±2σ and 99.7% within ±3σ.

3 · The normal distribution · empirical rule

68 – 95 – 99.7 in real data

The 300 values in the normal distribution chart on slide 12 (mean 50, SD 10):

RangeIntervalExpectedActual
±1σ40 – 6068.0%71.0%
±2σ30 – 7095.0%96.0%
±3σ20 – 8099.7%99.3%

Bolts: if diameters have μ = 10 mm and σ = 0.1 mm, then 99.7% of bolts fall between 9.7 mm and 10.3 mm.

4 · The Z-score

Z = how many σ from the mean

Z = (X − μ) ÷ σ
Example · Aarong milkμ = 500 ml, σ = 4 ml. One pack holds 508 ml.
Z = (508 − 500) ÷ 4 = +2.00, so it's 2σ above the mean.
Example · Aarong milkAnother pack holds 495 ml.
Z = (495 − 500) ÷ 4 = −1.25, so it's 1.25σ below the mean.

5 · Is my data normal?

Why we must check first

The Z-table's areas (34.1%, 13.6%, 2.1% …) are only correct when the data is bell-shaped. If the data is skewed, the table gives wrong probabilities.

Check the shape→Roughly normal?→Use Z and the Z-table

5 · Is my data normal?

Skewness and kurtosis

MeasureWhat it checksIdealTolerable
SkewnessIs one tail longer than the other?0between ±1 and ±2
KurtosisAre the tails too heavy or too light (peak too sharp or too flat)?0between ±1 and ±2

Kurtosis here means excess kurtosis, which is 0 for a normal curve. Some books report raw kurtosis, where normal = 3.

Formal tests also exist, such as Shapiro–Wilk and Kolmogorov–Smirnov. Here we use skewness and kurtosis.

6 · What normality lets us do

What can we say once data is normal?

1
About single itemsIf the pack volumes are normal, we can say: "About 10.6% of Aarong packs will hold less than 495 ml." This is true for future packs too, as long as the factory keeps working the same way.
2
About the average of all packsAverages of samples are normal (when the data is normal, or the sample has 30 or more items). So from one sample we can say: "We are 95% sure the true average of all packs is between 498.2 and 500.2 ml." This is called a confidence interval.

This is inference: a careful estimate with a stated level of confidence. It is not a forecast.

7 · Reading the Z-table

Row + column = your Z

Open the Z-Table ↗. It gives the area to the LEFT of Z. Split Z into a row part (first decimal) and a column part (second decimal).

Positive Z = 1.231.23 = 1.2 + 0.03
→ row 1.2, column .03
Negative Z = −1.25−1.25 = −1.2 − 0.05
→ row −1.2, column .05

Once you have the row and the column, the area is the value where the row and column meet.

8 · Worked example 1 of 4 · Less than (left side)

Aarong 500 ml packs: μ = 500 ml, σ = 4 ml, volumes are normal.

What percentage of packs hold less than 495 ml?

Solution

Z = (495 − 500) ÷ 4 = −1.25
Z-table: row −1.2, column .05 → 0.1056
P(X < 495) = 10.56%

The table already gives the left area: read it straight off. Z-Table ↗ · See it on the Z calculator ↗

8 · Worked example 2 of 4 · More than (right side)

Aarong 500 ml packs: μ = 500 ml, σ = 4 ml, volumes are normal.

What percentage of packs hold more than 508 ml?

Solution

Z = (508 − 500) ÷ 4 = 2.00
Z-table: row 2.0, column .00 → 0.9772 (left area)
P(X > 508) = 1 − 0.9772 = 0.0228 = 2.28%

Right side = 1 − left side. Z-Table ↗ · See it on the Z calculator ↗

8 · Worked example 3 of 4 · Between two values

Aarong 500 ml packs: μ = 500 ml, σ = 4 ml, volumes are normal.

What percentage of packs hold between 494 and 506 ml?

Solution

Z₁ = (494 − 500) ÷ 4 = −1.50 → row −1.5, column .00 → 0.0668
Z₂ = (506 − 500) ÷ 4 = 1.50 → row 1.5, column .00 → 0.9332
P = 0.9332 − 0.0668 = 0.8664 = 86.64%

Larger left area − smaller left area. Z-Table ↗ · See it on the Z calculator ↗

8 · Worked example 4 of 4 · Finding X from a percentage

Aarong 500 ml packs: μ = 500 ml, σ = 4 ml, volumes are normal.

Below what volume are the lowest 10% of packs?

Solution

Find 0.1000 inside the table: closest is 0.1003 at row −1.2, column .08 → Z = −1.28
X = μ + Z · σ = 500 + (−1.28 × 4) = 494.88 ml

Work backwards: area → Z → X. Z-Table ↗ · See it on the Z calculator ↗

9 · Confidence interval

Estimating the population mean

CI = x̄ ± Z* · SE, where SE = σ ÷ √n

Z* = 1.645 (90%) · 1.96 (95%) · 2.576 (99%)

Example

60 Aarong packs from 60 shops: x̄ = 499.2 ml, σ = 4 ml.
SE = 4 ÷ √60 = 0.516, so E = 1.96 × 0.516 = 1.01
95% CI = 499.2 ± 1.01 = (498.19, 500.21) ml

Meaning: we are 95% confident the true average volume of all Aarong 500 ml packs is between 498.19 and 500.21 ml.

σ or SE? Daily social media time of 50 users: x̄ = 3.2 hours, σ = 0.8 hours.

Most users (one user, use σ)3.2 ± 1.96 × 0.8 = 1.63 – 4.77 hours
True average (use SE = 0.8 ÷ √50 = 0.113)3.2 ± 1.96 × 0.113 = 2.98 – 3.42 hours

10 · Summary

The path we followed

Population → sample: we measure a part to learn about the whole. Sampling distribution: sample means form their own distribution. Central Limit Theorem: those means are normal when the population is normal or n ≥ 30. Normal curve: two parameters (μ, σ), three properties, 68–95–99.7. Check normality: skewness and kurtosis ideally 0, tolerable ±1 to ±2. Z-score and Z-table: probabilities for items, confidence intervals for the mean.

Next: Practice problems ↗