Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number...

31
Chapter 7 Estimation

Transcript of Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number...

Page 1: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Chapter 7Estimation

Page 2: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Section 7.3

Estimating p in the Binomial Distribution

Page 3: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Review of theBinomial Distribution

• Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 – p • If np and nq are both > 5, the binomial

distribution can be approximated by the normal distribution.

Page 4: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

A Point Estimate for p, the Population Proportion of

Successes

Page 5: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Point Estimate for q (Population Proportion of

Failures)

Page 6: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

For a sample of 500 airplane departures, 370 departed on time. Use this information to estimate the probability that an airplane from the entire population departs on time.

We estimate that there is a 74% chance that any given flight will depart on time.

Page 7: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Error of Estimate for “p hat” as a Point Estimate for p

Page 8: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Confidence Interval for p for Large Samples (np and nq > 5)

zc = critical value for confidence level c taken from a normal distribution

p̂ − E < p < p̂ + E

where p̂ = rn

and E = zcp̂(1− p̂)

n= zc

p̂q̂n

Page 9: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

For a sample of 500 airplane departures, 370 departed on time. Find a 99% confidence interval for the proportion of airplanes that depart on time.

Is the use of the normal distribution justified?

n = 500 p̂ ≈ 0.74

Page 10: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

For a sample of 500 airplane departures, 370 departed on time. Find a 99% confidence interval for the proportion of airplanes that depart on time.

Can we use the normal distribution?

Page 11: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

For a sample of 500 airplane departures, 370 departed on time. Find a 99% confidence interval for the proportion of airplanes that depart on time.

So the use of the normal distribution

is justified.

Page 12: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Out of 500 departures, 370 departed on time. Find a 99% confidence interval.

r = 370 p̂ = rn

n = 500 p̂ = 370500

p̂ = 0.74

q̂ = 130500

q̂ = 0.26

Page 13: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

99% confidence interval for the proportion of airplanes that depart on time:

Confidence interval is:

0.74 − 2.5758 0.74(0.26)500

< p < 0.74 + 2.5758 0.74(0.26)500

0.74 − 2.5758 0.1924500

< p < 0.74 + 2.5758 0.1924500

0.74 − 2.5758 0.003848 < p < 0.74 + 2.5758 0.00038480.74 − 2.5758 0.01961( ) < p < 0.74 + 2.5758 0.01961( )

.74 − 0.0505 < p < .74 + 0.05050.6895 < p < 0.7905

We can say with 99% confidence that the population proportion of planes that depart on

time is between 0.6895 and 0.7905.

Page 14: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

The point estimate and the confidence interval do not depend on the size of the

population.

The sample size, however, does affect the accuracy of

the statistical estimate.

Page 15: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Margin of Error

the maximal error of estimate E for a confidence interval

E = ±zcp̂q̂n

Page 16: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Interpretation of Poll Results

The proportion responding in a certain way is

Page 17: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

A 95% confidence interval for population proportion

p is:

p̂ −margin of error < p < p̂ +margin of error

p̂ = poll report

Page 18: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Interpret the following poll results:

“ A recent survey of 400 households indicated that 84% of the households surveyed preferred a new breakfast cereal to their previous brand. Chances are 19 out of 20 that if all households had been surveyed, the results would differ by no more than 3.5 percentage points in either direction.”

Page 19: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

“Chances are 19 out of 20 …”

19/20 = 0.95 A 95% confidence interval

is being used.

Page 20: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

“... 84% of the households surveyed preferred …”

84% represents the percentage of households who preferred

the new cereal.

84% represents p̂.

Page 21: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

“... the results would differ by no more than 3.5 percentage points in either direction.”

3.5% represents the margin of error, E.

Page 22: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

The confidence interval is:

84% - 3.5% < p < 84% + 3.5% 80.5% < p < 87.5%

We cay say with 95% confidence that the population proportion of people that would prefer the new cereal is

between 80.5% and 87.5%.

Page 23: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Sample Size for Estimating p for the Binomial Distribution

Do you have a preliminary study?

Page 24: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Formula for Minimum Sample Size for Estimating p for the

Binomial Distribution If p is an estimate of

the population proportion,

n = p̂q̂ zcE

⎛⎝⎜

⎞⎠⎟2

Page 25: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

Formula for Minimum Sample Size for Estimating p for the

Binomial Distribution If we have no preliminary estimate for p, the

probability is at least c that the point estimate r/n for p will be in error by less than the

quantity E if n is at least:

n = 14

zcE

⎛⎝⎜

⎞⎠⎟2

Page 26: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

The manager of a furniture store wishes to estimate the proportion

of orders delivered by the manufacturer in less than three

weeks. She wishes to be 95% sure that her point estimate is in error

either way by less than 0.05. Assume no preliminary study is

done to estimate p.

Page 27: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

She wishes to be 95% sure ...

z0.95 = 1.9600

Page 28: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

... that her point estimate is in error either way by less than

0.05.

E = 0.05

Page 29: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

... no preliminary study is done to estimate p.

The minimum required sample size would be 385 deliveries to construct a 95% confidence interval for the proportion of deliveries completed within 3 weeks with an error of no more than 0.05 and no preliminary study.

n = 141.96000.05

⎛⎝⎜

⎞⎠⎟2

n = 1439.2( )2

n = 141536.64( )

n = 384.16n = 385

Page 30: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

A preliminary estimate of p indicated that p was

approximately equal to 0.75:

Determine the minimum required sample size if a preliminary study had

been conducted.

Page 31: Chapter 7 Estimation · Review of the Binomial Distribution • Completely determined by the number of trials (n) and the probability of success (p) in a single trial. • q = 1 –

n = 0.75( ) 0.25( ) 1.96000.05

⎛⎝⎜

⎞⎠⎟2

n = 0.75( ) 0.25( ) 39.2( )2

n = 0.75( ) 0.25( ) 1536.64( )n = 288.12n = 289

The minimum required sample size would be 289 deliveries to construct a 95% confidence interval for the proportion of deliveries completed within 3 weeks with an error of no more than 0.05 and a preliminary study indicating that the proportion of deliveries that were completed within 3 weeks was 0.75.