43
DID YOU DO BETTER THAN EXPECTED ON EXAM 1? Slid e 1- 1 1. Yes 2. No 3. I don’t know yet. 1 2 3 4 25% 25% 25% 25%

D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

Embed Size (px)

Citation preview

Page 1: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

DID YOU DO BETTER THAN EXPECTED ON EXAM 1?

Slide 1- 1

1 2 3 4

25% 25%25%25%1. Yes2. No3. I don’t know yet.

Page 2: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

UPCOMING WORK

Quiz #4 in class this Thursday

HW #8 due next Sunday

Part 3 of Data Project due April 2nd in class

Page 3: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

POSSIBLE TESTS

One-proportion z-test

Two-proportion z-test

One-sample t-test for mean

Two-sample t-test for differences of means

Slide 1- 3

Page 4: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

EXAMPLES OF ONE-PROPORTION TEST

Everyone (100%) believes in ghosts

More than 10% of the population believes in ghosts

Less than 2% of the population has been to jail

90% of the population wears contacts

Slide 1- 4

Page 5: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

EXAMPLES OF TWO-PROPORTION TESTS

Women believe in ghosts more than men

Blacks believe in ghost more than whites

People who have been to jail believe in ghosts more than people who haven’t been to jail

Women smoke more than men

Women use facebook in the bathroom more than men

Slide 1- 5

Page 6: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

EXAMPLES OF ONE-SAMPLE T-TEST

All Priuses have fuel economy > 50 mpg

Ford Focuses get 5 mpg on average

The average starting salary for ISU graduates >$100,000

The average cholesterol level for a person with diabetes is 240.

Slide 1- 6

Page 7: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

EXAMPLES OF TWO-SAMPLE T-TEST

The MPG for the Prius is greater than the MPG for the Ford Focus

ISU male graduates have a greater starting salary than women

The cholesterol levels are the same for people with and without diabetes.

Slide 1- 7

Page 8: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

CHAPTER 18Sampling Distribution Models

Co

pyrig

ht ©

20

08

Pe

arso

n E

du

catio

n, In

c. P

ub

lishin

g a

s Pe

arso

n A

dd

ison

-We

sley

Page 9: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

TWO-TYPES OF SAMPLING DISTRIBUTION: Proportion: parameter is p

Examples: p=proportion of people who have believe in ghosts p=proportion of cars made in Japan p=proportion of internet sales that are shipped on time

Mean: parameter is μ Examples:

μ= Average level of monoxide emitted from a car μ=Average payoff in a game of craps μ=Average starting salary for ISU graduate

Slide 1- 9

Page 10: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

MODELING THE DISTRIBUTION OF SAMPLE PROPORTIONS

What proportion of the population believes in ghosts? Sample ten people, randomly

Sampling Distribution is the distribution you would get if you repeatedly sample the population. It’s a theoretical distribution.

What does the distribution look like?

Slide 1- 10

Page 11: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

SAMPLING DISTRIBUTION OF PROPORTIONS -WHAT DOES IT LOOK LIKE?

The histogram of the sample proportions center at the true proportion, p, in the

population.

As far as the shape of the histogram goes, we can simulate a bunch of random samples that we didn’t really draw.

Unimodal, symmetric, and centered at p.

Slide 1- 11

Page 12: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

A NOTE ON THE STANDARD DEVIATION

The standard deviation of a sample, s, is just the square root of the variance and is measured in the same units as the original data.

The standard deviation of a sampling distribution, is σ(p)=

Slide 1- 12

s

y y 2n 1

pq

n

Page 13: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

SAMPLING DISTRIBUTION FOR A PROPORTION - PROBLEM

From past experience, I have found that 60% of my students believe in ghosts.

I sample ten students from Fall 2012.

What’s the probability that the sampled proportion of students, who believe in ghosts, is greater than 90%?

Slide 1- 13

Page 14: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

THE SAMPLING DISTRIBUTION MODEL FOR A PROPORTION (CONT.)

Provided that the sampled values are independent and the sample size is large enough, the sampling distribution of is modeled by a Normal model with Mean: Standard deviation: .

Slide 1- 14

( )p̂ p

( )ˆ pqSD p n

Page 15: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT IS THE MEAN AND STANDARD DEVIATION OF THE PROPORTION OF THE POPULATION THAT BELIEVES IN GHOSTS?

1. Mean = 0.6 SD= 0.6*0.4

2. Mean = 0.6 SD= sqrt(0.6*0.4)

3. Mean = 0.6 SD= sqrt(0.6*0.4/10)

4. Mean = 0.6 SD= 0.6*0.4/10

Slide 1- 15

1 2 3 4

0% 0%0%0%

Page 16: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

MODELING THE DISTRIBUTION OF SAMPLE PROPORTIONS (CONT.)

A picture of what we just discussed is as follows:

Slide 1- 16

Page 17: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT’S THE Z-SCORE FOR A PROPORTION OF 0.90?

1. Z=(0.90-0.60)/0.1552. Z=(0.60-0.90)/ 0.1553. Z=(0.90- 0.155)/ 0.64. Z=(0.155 -0.90)/0.6

Slide 1- 17

1 2 3 4

0% 0%0%0%

Page 18: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT’S THE PROBABILITY THAT THE SAMPLED PROPORTION OF STUDENTS WHO BELIEVE IN GHOSTS IS GREATER THAN 90%?

1. 0.97382. 1-0.97383. 0.94. 0.6

Slide 1- 18

1. 2 3. 4.

0% 0%0%0%

Page 19: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

SAMPLING DISTRIBUTIONS – PROPORTION VS. MEAN

But which Normal model? For proportions, the sampling distribution is

centered at the population proportion. For means, it’s centered at the population mean.

Slide 1- 19

Page 20: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

BUT WHICH NORMAL? (CONT.)

SD yn

Slide 1- 20

The Normal model for the sampling distribution of the mean has a standard deviation equal to

where σ is the population standard deviation.

Page 21: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

SAMPLING DISTRIBUTION FOR A MEAN - PROBLEM

From past experience, the average starting salary of an ISU graduate is $52,000 with a SD of $5,000

I survey 100 graduates.

What’s the probability that their average salary is less than $40,000?

Slide 1- 21

Page 22: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT IS THE Z-SCORE FOR $40,000?

1. Z=(40,000-52,000)/5,000/1002. Z=(40,000-52,000)/5,000/1003. Z=(40,000-52,000)/ sqrt(25,000,000/100)4. Z=(40,000-52,000)/sqrt(5,000/100)

Slide 1- 22

1 2 3 4

0% 0%0%0%

Page 23: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT’S THE PROBABILITY THAT THE SAMPLE’S AVERAGE SALARY IS LESS THAN $40,000?

1. 0.22362. 1-0.22363. .44. .6

Slide 1- 23

1. 2 3. 4.

0% 0%0%0%

Page 24: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

THE FUNDAMENTAL THEOREM OF STATISTICS

The Central Limit Theorem (CLT)The mean of a random sample has a sampling distribution whose shape can be approximated by a Normal model. The larger the sample, the better the approximation will be.

Slide 1- 24

Page 25: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHEN TO APPLY THE NORMAL MODEL?

Random Observations

Independent Trials

Each sample is the same size (n)

Sample size is appropriately large

Slide 1- 25

Page 26: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

ASSUMPTIONS AND CONDITIONS (CONT.)1. Independence

1. Randomization Condition: The sample should be a simple random sample of the population.

1. Unbiased2. Representative of the Population

2. 10% Condition: If sampling has not been made with replacement, then the sample size, n, must be no larger than 10% of the population.

Slide 1- 26

Page 27: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

ASSUMPTIONS AND CONDITIONS (CONT.)

1. Large Enough Sample

1. Success/Failure Condition: The sample size has to be big enough so that both and are greater than 10.

Slide 1- 27

npnq

Page 28: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

GHOST PROBLEM REVISITED

From past experience, I have found that 60% of my students believe in ghosts.

I sample ten students from Fall 2012.

Can I use the Normal model to approximate a sampling distribution?

Slide 1- 28

Page 29: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

ARE THE CONDITIONS NECESSARY TO USE THE NORMAL MODEL MET?1. Yes, all the conditions are met2. No, the 10% condition is not met3. No, the randomization condition is not met4. No, the success/failure condition is not met5. No, the randomization and success/failure

condition are not met6. No, none of the conditions are met

Slide 1- 29

1 2 3 4 5 6

0% 0% 0%0%0%0%

Page 30: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

HW - PROBLEM 1

State police believe that 40% of the drivers traveling on a major interstate highway exceed the speed limit. They plan to set up a radar trap and check the speeds of 20 cars.

Using the 68-95-99.7 rule, draw and label the distribution of the proportion of these cars the police will observe speeding.

Slide 1- 30

Page 31: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

DO YOU THINK THE APPROPRIATE CONDITIONS NECESSARY FOR YOU ANALYSIS ARE MET?

1. Yes, all the conditions are met2. No, the 10% condition is not met3. No, the randomization condition is not met.4. No, the success/failure conditions are not

met5. No, none of the conditions are met.

Slide 1- 31

1 2 3 4 5

0% 0% 0%0%0%

Page 32: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

THE REAL WORLD AND THE MODEL WORLD

Be careful! Now we have two distributions to deal with.

The first is the real world distribution of the sample, which we might display with a histogram.

The second is the math world sampling distribution of the statistic, which we model with a Normal model based on the Central Limit Theorem.

Page 33: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

STANDARD DEVIATION

ˆpq

SD pn

Slide 1- 33

Both of the sampling distributions we’ve looked at are Normal. For proportions

For means

SD yn

Page 34: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

EXAMPLE – COIN TOSS

You flip a coin 25 times and get a head 18 times (72% of the time).

Is the coin fair?

p=.5 SD=.1

What if you flipped it 64 times? SD=.0625

Slide 1- 34

Page 35: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

HW - PROBLEM 4

The national freshman-to-sophomore retention rate has held steady at 74%.

Acme College has 490 of the 592 freshman return as sophomores.

Does this college have the right to brag that it has an unusually high retention rate?

Slide 1- 35

Page 36: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

CAN THIS COLLEGE BRAG ABOUT ITS RETENTION RATE?

1. Yes, b/c their retention rate is not more than 3 SD above the expected rate.

2. Yes, b/c their retention rate is more than 4 SD above the expected rate.

3. No, b/c their retention rate is not more than 3 SD above the expected rate.

4. No, b/c their retention rate is more than 4 SD above the expected rate.

Slide 1- 36

0%

0%

0%

0%

Page 37: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

STEPS TO CALCULATE THE PROBABILITY FROM A SAMPLING DISTRIBUTION

Calculate mean or proportion from the sample.

Determine if you know the true proportion or mean.

Calculate the standard deviation Determine the ‘standard’ you are comparing

your sample to. Calculate z-score of that ‘standard’ Find percentile of that z-score.

Slide 1- 37

Page 38: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

HW - PROBLEM 5

Just before a referendum on a recycling mandate, a local newspaper polls 358 voters to predict whether the mandate will pass.

Suppose the mandate has the support of 53% of the voters.

What is the probability that the newspaper’s sample will lead it to predict defeat?

Slide 1- 38

Page 39: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT IS THE PROBABILITY THAT THE NEWSPAPER’S SAMPLE WILL LEAD IT TO PREDICT DEFEAT?1. .12922. 1-.12923. .54. .53

Slide 1- 39

1. 2 3. 4.

0% 0%0%0%

Page 40: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

SAMPLING DISTRIBUTIONS ARE AWESOME!

Sampling distribution models are important becausethey act as a bridge from the real world of

data to the imaginary model of the statistic and

enable us to say something about the population when all we have is data from the real world.

Page 41: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

HW - PROBLEM 6 When a truck load of apples arrives at a packing

plant, a random sample of 125 is selected and examined for bruises, discoloration, and other defects.

The whole truckload will be rejected if more than 5% of the sample is unsatisfactory.

Suppose that in fact 9% of the apples on the truck do not meet the desired standard.

What is the probability that the shipment will be accepted anyway.

Slide 1- 41

Page 42: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

WHAT IS THE PROBABILITY THAT THE SHIPMENT WILL BE ACCEPTED ANYWAY?

1. 0.0592. 1-0.0593. 04. 15. .05

Slide 1- 42

1. 2 3 4 5.

0% 0% 0%0%0%

Page 43: D ID YOU DO BETTER THAN EXPECTED ON E XAM 1? Slide 1- 1 1. Yes 2. No 3. I don’t know yet

UPCOMING WORK

Quiz #4 in class this Thursday

HW #8 due next Sunday

Part 3 of Data Project due April 2nd in class