Top Banner
Using Simulations to understand the Central Limit Theorem
25

Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Mar 31, 2015

Download

Documents

Marlee Freedman
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Using Simulations to understand the

Central Limit Theorem

Page 2: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Parameter: A number describing a characteristic of

the population (usually unknown)

The mean gas price of regular gasoline for all gas stations in Maryland

Page 3: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

The mean gas price in Maryland is $______

Statistic: A number describing a characteristic of

a sample.

Page 4: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

In Inferential Statistics we use the value of a sample

statistic to estimate a parameter value.

  

Page 5: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

We want to estimate the mean height of MC students.

The mean height of MC students is 64 inches

Page 6: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Will x-bar be equal to mu?

What if we get another sample, will x-bar be the same?

How much does x-bar vary from sample to sample?

By how much will x-bar differ from mu?

How do we investigate the behavior of x-bar?

Page 7: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

What does the x-bar distribution look like?

Page 8: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Graph the x-bar distribution, describe the shape and find the mean and standard deviation

Page 9: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Rolling a fair die and recording the outcome

Simulation

randInt(1,6)

Press MATHGo to PRBSelect 5:

randInt(1,6)

Page 10: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Rolling a die n times and finding the mean of the outcomes.

Mean(randInt(1,6,10)

Press 2nd STAT[list]Right to MATHSelect 3:mean(Press MATHRight to PRB5:randInt(

Let n = 2 and think on the range of the x-bar distribution

What if n is 10? Think on the range

Page 11: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Rolling a die n times and finding the mean of the outcomes.

The Central Limit Theorem in action

Page 12: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

The Central Limit Theorem in action

Page 13: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.
Page 14: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.
Page 15: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

• For the larger sample sizes, most of the x-bar values are quite close to the mean of the parent population mu. (Theoretical distribution in this case)  • This is the effect of averaging  • When n is small, a single unusual x value can result in an x-bar value far from the center  • With a larger sample size, any unusual x values, when averaged with the other sample values, still tend to yield an x-bar value close to mu.  • AGAIN, an x-bar based on a large will tends to be closer to mu than will an x-bar based on a small sample. This is why the shape of the x-bar distribution becomes more bell shaped as the sample size gets larger. 

Page 17: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

The Central Limit Theorem in action

Closing stock prices ($)

Variability of sample means for samples of size 64

26 – 2.5 26 + 2.5 26 + 2*2.5

__|________|________|________X________|________|________|__18.5 21 23.5 26 28.5 31 33.5

20~ ( 26, 2.5

64x xx N

n

Page 18: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Closing stock prices ($)Variability of sample means for samples of

size 64

2.5% | 95% | 2.5% 26 – 2.5 26 + 2.5 26 + 2*2.5

__|________|________|________X________|________|________|__18.5 21 23.5 26 28.5 31 33.5

About 99.7% of samples of 64 closing stock prices have means that are within $7.50 of the population mean mu

20~ ( 26, 2.5

64x xx N

n

About 95% of samples of 64 closing stock prices have means that are within $5 of the population mean mu

Page 19: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

We want to estimate the mean closing price of stocks by using a SRS of 64 stocks. Assume the standard deviation σ = $20.

X ~Right Skewed (μ = ?, σ = 20)

20~ ( 26, 2.5

64x xx N

n

__|________|________|________X________|________|________|__ μ-7.5 μ-5 μ-2.5 μ μ+2.5 μ+5 μ+7.5

We’ll be 95% confident that our estimate is within $5 from the population mean mu

We’ll be 99.7% confident that our estimate is within $7.50 from the population mean mu

Page 20: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.
Page 21: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.
Page 22: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.
Page 23: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

SimulationRoll a die 5 times and record the number of ONES obtained: randInt(1,6,5)

Press MATHGo to PRBSelect 5: randInt(1,6,5)

Page 24: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Roll a die 5 times, record the number of ONES obtained. Do the process n times and find the mean number of ONES obtained.

The Central Limit Theorem in action

Page 25: Parameter: A number describing a characteristic of the population (usually unknown) The mean gas price of regular gasoline for all gas stations in Maryland.

Use website APPLETS to simulate proportion

problems