1 of 28

Lecture 27

The Normal Distribution

DATA 8

Fall 2019

2 of 28

Weekly Goals

  • Monday
    • Defining the “spread” of a distribution
    • How big are most of the values?
  • Today
    • The bell shaped curve and its relation to large random samples
  • Friday
    • The variability in a random sample average
    • Choosing the size of a random sample

3 of 28

Announcements

4 of 28

Review: SD and Standard Units

5 of 28

How Far from the Average?

  • Standard deviation (SD) measures roughly how far the data are from their average

  • SD = root mean square of deviations from average

5 4 3 2 1

  • SD has the same units as the data

6 of 28

Standard Units

  • For each row: “how many SDs are you from the mean?”

  • Can use with any dataset, no matter the distribution

  • Units: “SDs from the mean” (not years/feet/pounds/etc)

  • Can use to compare different datasets

(Demo)

7 of 28

Review: Chebyshev’s Inequality

8 of 28

Chebyshev’s Bounds

Range

Proportion

average ± 2 SDs*

at least 1 - 1/4 (75%)

average ± 3 SDs*

at least 1 - 1/9 (88.888…%)

average ± 4 SDs*

at least 1 - 1/16 (93.75%)

average ± 5 SDs*

at least 1 - 1/25 (96%)

No matter what the distribution looks like

(Demo)

* Not including the endpoints

9 of 28

Review: The Normal Distribution

10 of 28

Bell Curve

11 of 28

How Big are Most of the Values?

No matter what the shape of the distribution,

the bulk of the data are in the range “average ± a few SDs”

If a histogram is bell-shaped, then

  • Almost all of the data are in the range

“average ± 3 SDs”

12 of 28

Bounds and Normal Approximations

13 of 28

A “Central” Area

14 of 28

Central Limit Theorem

15 of 28

Sample Averages

  • The Central Limit Theorem describes how the normal distribution (a bell-shaped curve) is connected to random sample averages.
  • We care about sample averages because they estimate population averages.

16 of 28

Central Limit Theorem

If the sample is

  • large, and
  • drawn at random with replacement,

Then, regardless of the distribution of the population,

the probability distribution of the sample sum

(or the sample average) is roughly normal

(Demo)

17 of 28

Distribution of the �Sample Average

18 of 28

Why is There a Distribution?

  • You have only one random sample, and it has only one average.

  • But the sample could have come out differently.

  • And then the sample average might have been different.

  • So there are many possible sample averages.

19 of 28

Distribution of the Sample Average

  • Imagine all possible random samples of the same size as yours. There are lots of them.

  • Each of these samples has an average.

  • The distribution of the sample average is the distribution of the averages of all the possible samples.

(Demo)

20 of 28

Specifying the Distribution

Suppose the random sample is large.

  • We have seen that the distribution of the sample average is roughly bell shaped.

  • Important questions remain:
    • Where is the center of that bell curve?
    • How wide is that bell curve?

21 of 28

Center of the Distribution

22 of 28

The Population Average

The distribution of the sample average is roughly a bell curve centered at the population average.

23 of 28

Variability of the Sample Average

24 of 28

Why Is This Important?

  • Along with the center, the spread helps identify exactly which normal curve is the distribution of the sample average.
  • The variability of the sample average helps us measure how accurate the sample average is as an estimate of the population average.
  • If we want a specified level of accuracy, understanding the variability of the sample average helps us work out how large our sample has to be.

(Demo)

25 of 28

Discussion Question

The gold histogram shows the distribution of __________ values, each of which is _________________________.

  • 900
  • 10,000
  • a randomly sampled flight delay
  • an average of flight delays

26 of 28

The Two Histograms

  • The gold histogram shows the distribution of 10,000 values, each of which is an average of 900 randomly sampled flight delays.
  • The blue histogram shows the distribution of 10,000 values, each of which is an average of 400 randomly sampled flight delays.
  • Both are roughly bell shaped.
  • The larger the sample size, the narrower the bell.

(Demo)

27 of 28

Variability of the Sample Average

  • The distribution of all possible sample averages of a given size is called the distribution of the sample average.
  • We approximate it by an empirical distribution.
  • By the CLT, it’s roughly normal:
    • Center = the population average
    • SD = (population SD) / √sample size

(Demo)

28 of 28

Discussion Question

A city has 500,000 households. The annual incomes of these households have an average of $65,000 and an SD of $45,000. The distribution of the incomes [pick one and explain]:

  • is roughly normal because the number of households is large.
  • is not close to normal.
  • may be close to normal, or not; we can’t tell from the information given.