42
Probability and Samples • Sampling Distributions Central Limit Theorem Standard Error Probability of Sample Means

05 Sampling Distributions

Embed Size (px)

Citation preview

Page 1: 05 Sampling Distributions

Probability and Samples

• Sampling Distributions

• Central Limit Theorem

• Standard Error

• Probability of Sample Means

Page 2: 05 Sampling Distributions

Sample Population

Inferential Statistics

Probability

last week and today

tomorrow and beyond

Page 3: 05 Sampling Distributions

- getting a certain type of individual when we sample once

- getting a certain type of sample mean when n>1

When we take a sample from a population we can talk about the probability of

today

last Thursday

Page 4: 05 Sampling Distributions

p(X > 50) = ?

10 20 30 40 50 60

1

2

3

freq

uenc

y4

5

6

raw score

70

Distribution of Individuals in a Population

Page 5: 05 Sampling Distributions

10 20 30 40 50 60

1

2

3

freq

uenc

y4

5

6

raw score

70

p(X > 50) = 1 9 = 0.11

Distribution of Individuals in a Population

Page 6: 05 Sampling Distributions

p(X > 30) = ?

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

raw score

70

Distribution of Individuals in a Population

Page 7: 05 Sampling Distributions

p(X > 30) = 6 9 = 0.66

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

raw score

70

Distribution of Individuals in a Population

Page 8: 05 Sampling Distributions

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

70

normally distributed = 40, = 10

Distribution of Individuals in a Population

p(40 < X < 60) = ?

Page 9: 05 Sampling Distributions

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

70

normally distributed = 40, = 10

p(40 < X < 60) = p(0 < Z < 2) = 47.7%

Distribution of Individuals in a Population

Page 10: 05 Sampling Distributions

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

70

normally distributed = 40, = 10

raw score

Distribution of Individuals in a Population

p(X > 60) = ?

Page 11: 05 Sampling Distributions

10 20 30 40 50 60

1

2

3freq

uenc

y4

5

6

raw score70

normally distributed = 40, = 10

p(X > 60) = p(Z > 2) = 2.3%

Distribution of Individuals in a Population

Page 12: 05 Sampling Distributions

For the preceding calculations to be accurate, it is necessary that the sampling process be random.

A random sample must satisfy two requirements:

1. Each individual in the population has an equal chance of being selected.

2. If more than one individual is to be selected, there must be constant probability for each and every selection (i.e. sampling with replacement).

Page 13: 05 Sampling Distributions

A distribution of sample means is:

the collection of sample means for all the possible random samples of a particular size (n) that can be obtained from a population.

Distribution of Sample Means

Page 14: 05 Sampling Distributions

Population

1 2 3 4 5 6

1

2

3freq

uenc

y4

5

6

raw score7 8 9

Page 15: 05 Sampling Distributions

Distribution of Sample Means from Samples of Size n = 2

1 2, 2 2

2 2,4 3

3 2,6 4

4 2,8 5

5 4,2 3

6 4,4 4

7 4,6 5

8 4,8 6

9 6,2 4

10 6,4 5

11 6,6 6

12 6,8 7

13 8,2 5

14 8,4 6

15 8.6 7

16 8.8 8

Sample # Scores Mean ( )

X

Page 16: 05 Sampling Distributions

Distribution of Sample Means from Samples of Size n = 2

1 2 3 4 5 6

1

2

3freq

uenc

y4

5

6

7 8 9

sample mean

We can use the distribution of sample means to answer probability questions about sample means

Page 17: 05 Sampling Distributions

Distribution of Sample Means from Samples of Size n = 2

1 2 3 4 5 6

1

2

3freq

uenc

y4

5

6

7 8 9

sample mean

p( > 7) = ?

X

Page 18: 05 Sampling Distributions

Distribution of Sample Means from Samples of Size n = 2

1 2 3 4 5 6

1

2

3freq

uenc

y4

5

6

7 8 9

sample mean

p( > 7) = 116 = 6 %

X

Page 19: 05 Sampling Distributions

1 2 3 4 5 6

123fr

eque

ncy

456

raw score7 8 9

Distribution of Individuals in Population

Distribution of Sample Means

1 2 3 4 5 6

123fr

eque

ncy

456

7 8 9

sample mean

= 5, = 2.24

X = 5, X = 1.58

Page 20: 05 Sampling Distributions

1 2 3 4 5 6

123fr

eque

ncy

456

raw score7 8 9

1 2 3 4 5 6

123fr

eque

ncy

456

7 8 9

sample mean

Distribution of Individuals

Distribution of Sample Means

= 5, = 2.24

p(X > 7) = 25%

X = 5, X = 1.58

p(X> 7) = 6% , for n=2

Page 21: 05 Sampling Distributions

A key distinction

Population Distribution – distribution of all individual scores in the population

Sample Distribution – distribution of all the scores in your sample

Sampling Distribution – distribution of all the possible sample means when taking samples of size n from the population. Also called “the distribution of sample means”.

Page 22: 05 Sampling Distributions

1 2 3 4 5 6

123fr

eque

ncy

456

raw score7 8 9

Distribution of Individuals in Population

Distribution of Sample Means

1 2 3 4 5 6

123fr

eque

ncy

456

7 8 9

sample mean

= 5, = 2.24

X = 5, X = 1.58

Page 23: 05 Sampling Distributions

1 2 3 4 5 6

123fr

eque

ncy

456

7 8 9

sample mean

Distribution of Sample Means

Things to Notice

1. The sample means tend to pile up around the population mean.

2. The distribution of sample means is approximately normal in shape, even though the population distribution was not.

3. The distribution of sample means has less variability than does the population distribution.

Page 24: 05 Sampling Distributions

What if we took a larger sample?

Page 25: 05 Sampling Distributions

Distribution of Sample Means from Samples of Size n = 3

1 2 3 4 5 6

2

4

6

freq

uenc

y

8

10

12

7 8 9

sample mean

14

1618

2022

24

164 = 2 %

X = 5, X = 1.29

p( X > 7) =

Page 26: 05 Sampling Distributions

Distribution of Sample Means

As the sample gets bigger, the sampling distribution…

1. stays centered at the population mean.

2. becomes less variable.

3. becomes more normal.

Page 27: 05 Sampling Distributions

Central Limit Theorem

For any population with mean and standard deviation , the distribution of sample means for sample size n …

1. will have a mean of

2. will have a standard deviation of

3. will approach a normal distribution as n approaches infinity

n

Page 28: 05 Sampling Distributions

Notation

the mean of the sampling distribution

the standard deviation of sampling distribution (“standard error of the mean”)

X

nX

Page 29: 05 Sampling Distributions

The “standard error” of the mean is:

The standard deviation of the distribution of sample means.

The standard error measures the standard amount of difference between x-bar and that is reasonable to expect simply by chance.

Standard Error

SE =

n

Page 30: 05 Sampling Distributions

The Law of Large Numbers states:

The larger the sample size, the smaller the standard error.

Standard Error

This makes sense from the formula for standard error …

Page 31: 05 Sampling Distributions

1 2 3 4 5 6

123fr

eque

ncy

456

raw score7 8 9

Distribution of Individuals in Population

Distribution of Sample Means

1 2 3 4 5 6

123fr

eque

ncy

456

7 8 9

sample mean

= 5, = 2.24

X = 5, X = 1.58

58.1224.2

X

Page 32: 05 Sampling Distributions

1 2 3 4 5 6

2

4

6

freq

uenc

y

8

10

12

7 8 9

sample mean

14

1618

2022

24

Sampling Distribution (n = 3)

X = 5X = 1.29

29.1324.2

X

Page 33: 05 Sampling Distributions

Population SampleDistribution of Sample Means

Clarifying Formulas

NX n

XX X

Nss

1

nsss nX

nX

22

notice

Page 34: 05 Sampling Distributions

Central Limit Theorem

For any population with mean and standard deviation , the distribution of sample means for sample size n …

1. will have a mean of

2. will have a standard deviation of

3. will approach a normal distribution as n approaches infinity

n

What does this mean in practice?

Page 35: 05 Sampling Distributions

Practical Rules Commonly Used:

1. For samples of size n larger than 30, the distribution of the sample means can be approximated reasonably well by a normal distribution. The approximation gets better as the sample size n becomes larger.

2. If the original population is itself normally distributed, then the sample means will be normally distributed for any sample size.

small n large nnormal population

non-normal population

normal is X normal is X

normal is Xnonnormal is X

Page 36: 05 Sampling Distributions

Probability and the Distribution of Sample Means

The primary use of the distribution of sample means is to find the probability associated with any specific sample.

Page 37: 05 Sampling Distributions

Probability and the Distribution of Sample Means

Given the population of women has normally distributed weights with a mean of 143 lbs and a standard deviation of 29 lbs,

Example:

1. if one woman is randomly selected, find the probability that her weight is greater than 150 lbs.

2. if 36 different women are randomly selected, find the probability that their mean weight is greater than 150 lbs.

Page 38: 05 Sampling Distributions

0 0.24

Given the population of women has normally distributed weights with a mean of 143 lbs and a standard deviation of 29 lbs,

1. if one woman is randomly selected, find the probability that her weight is greater than 150 lbs.

0.4052

150 = 143= 29

Population distribution

z = 150-143 = 0.24 29

Page 39: 05 Sampling Distributions

0 1.45

Given the population of women has normally distributed weights with a mean of 143 lbs and a standard deviation of 29 lbs,

0.0735

2. if 36 different women are randomly selected, find the probability that their mean weight is greater than 150 lbs.

3629

X

150 = 143= 4.33

Sampling distribution

z = 150-143 = 1.45 4.33

Page 40: 05 Sampling Distributions

Probability and the Distribution of Sample Means

Given the population of women has normally distributed weights with a mean of 143 lbs and a standard deviation of 29 lbs,

Example:

1. if one woman is randomly selected, find the probability that her weight is greater than 150 lbs.

2. if 36 different women are randomly selected, find the probability that their mean weight is greater than 150 lbs.

41.)150( XP

07.)150( XP

Page 41: 05 Sampling Distributions

Practice

Given a population of 400 automobile models, with a mean horsepower = 105 HP, and a standard deviation = 40 HP,

Example:

1. What is the standard error of the sample mean for a sample of size 1?

2. What is the standard error of the sample mean for a sample of size 4?

3. What is the standard error of the sample mean for a sample of size 25?

40

20

8

Page 42: 05 Sampling Distributions

Example:

1. if one model is randomly selected from the population, find the probability that its horsepower is greater than 120.

2. If 4 models are randomly selected from the population, find the probability that their mean horsepower is greater than 120

3. If 25 models are randomly selected from the population, find the probability that their mean horsepower is greater than 120

Practice

Given a population of 400 automobile models, with a mean horsepower = 105 HP, and a standard deviation = 40 HP,

.35

.23

.03