confidence intervals with proportions chapter 9. suppose we wanted to estimate the proportion of the...

24
Confidence Intervals with Proportions Chapter 9

Upload: andrew-ingledue

Post on 01-Apr-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Confidence Intervals with Proportions

Chapter 9

Page 2: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Suppose we wanted to estimate the proportion of the earth that is covered by water?

Page 3: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Point EstimatePoint Estimate

• Use a singlesingle statistic based on sample data to estimate a population parameter

• Simplest approach

• But not always very precise due to variationvariation in the sampling distribution

Page 4: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Confidence intervalsConfidence intervals

• Are used to estimateestimate the unknown population parameter

• Formula:

statistic + margin of error

Page 5: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Margin of errorMargin of error

• Shows how accurateaccurate we believe our estimate is

• The smallersmaller the margin of error, the more precisemore precise our estimate of the true parameter

• Formula:

statistic theof

deviation standard

value

criticalm

Page 6: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Rate your confidenceRate your confidence0 - 1000 - 100

• Guess my age within 10 years?• within 5 years?• within 1 year?

• Shooting a basketball at a wading pool, will make basket?

• Shooting the ball at a large trash can, will make basket?

• Shooting the ball at a carnival, will make basket?

Page 7: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

What happens to your confidence as the interval gets smaller?

Your confidence level decreases Your confidence level decreases with smaller intervalswith smaller intervals

%%%%

%%%%

Page 8: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Confidence levelConfidence level

• Is the success rate of the methodmethod used to construct the interval

• Using this method, ____% of the time the intervals constructed will containcontain the true population parameter

Page 9: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

• Found fromfrom the confidence level• The upper z-scoreupper z-score with probability p lying to

its left under the standard normal curve

Confidence level tail area z*

.05 1.645

.025 1.96

.005 2.576

Critical value (z*)Critical value (z*)

.05

z*=1.645

.025

z*=1.96

.005

z*=2.57690%95%99%

Page 10: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Confidence interval for a Confidence interval for a population proportion:population proportion:

npp 1p̂ *z

Statistic + Critical value × Standard deviation of the statistic

Margin of error

npp ˆ1ˆ

But do we know the population proportion?

Page 11: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

What are the steps for performing a confidence interval?1.) Identify the interval by name or

formula (CI for one-sample proportion)2.) Assumptions• SRS of context• Approximate Normal distribution because

np > 10 & n(1-p) > 10• Population is at least 10n

3.) Calculations

4.) Conclusion (in context of problem)

Page 12: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Conclusion Statement:Conclusion Statement: (memorize!!)(memorize!!)

We are ________% confident that the true proportion context is between ______ and ______.

Page 13: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Suppose we wanted to estimate the proportion of the earth that is covered by water? Let’s “throw” the earth around and record the number of times that we point to water or land. Repeat the sampling for 50 trials. Calculate a 90% confidence interval for the amount of water on earth.

Page 14: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Calculate a 95% confidence interval for the true proportion of water on the earth.

Calculate a 99% confidence interval for the true proportion of water on the earth.

What do you

notice?

Page 16: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

• As the confidence level increases, do the intervals generally get wider or more narrow? Explain.

wider• As the sample size increases, do the intervals generally get wider or more narrow? Explain.

More narrow•When 100 confidence intervals are generated, why

are they all different? Sampling variability

• If the confidence level selected is 90%, about how many of 100 intervals will cover the true percentage of

orange balls? Will exactly this number of intervals cover the true percentage each time 100 intervals are

created? Explain.

Page 17: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Assumptions:

• SRS of context

• Approximate Normal distribution because

np > 10 & n(1-p) > 10

• Population is at least 10n

Where are the last two assumptions from?

Page 18: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

A May 2000 Gallup Poll found that 38% of a random sample of 1012 adults said that they believe in ghosts. Find a 95% confidence interval for the true proportion of adults who believe in ghost.

Page 19: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Assumptions:

•Have an SRS of adults

•np =1012(.38) = 384.56 & n(1-p) = 1012(.62) = 627.44 Since both are greater than 10, the distribution can be approximated by a normal curve

•Population of adults is at least 10,120.

41,.35.1012

)62(.38.96.138.

1*ˆ

npp

zP

We are 95% confident that the true proportion of adults who believe in ghosts is between 35% and 41%.

Step 1: check assumptions!

Step 2: make calculations

Step 3: conclusion in context

Page 20: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

The manager of the dairy section of a large supermarket took a random sample of 250 egg cartons and found that 40 cartons had at least one broken egg. Find a 90% confidence interval for

the true proportion of egg cartons with at least one broken egg.

Page 21: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Assumptions:

•Have an SRS of egg cartons

•np =250(.16) = 40 & n(1-p) = 250(.84) = 210 Since both are greater than 10, the distribution can be approximated by a normal curve

•Population of cartons is at least 2500.

198,.122.250

)84(.16.645.116.

We are 90% confident that the true proportion of egg cartons with at least one broken egg is between 12.2% and 19.8%.

Step 1: check assumptions!

Step 2: make calculations

Step 3: conclusion in context

Page 22: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Another Gallop Poll is taken in order to measure the proportion of adults who approve of attempts to clone humans. What sample size is necessary to be within + 0.04 of the true proportion of adults who approve of attempts to clone humans with a 95% Confidence Interval?

To find sample size:

However, since we have not yet taken a sample, we do not know a p-hat (or p) to use!

npp

zm1

*

Page 23: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

What p-hat (p) do you use when trying to find the sample size for a given margin of error?

.1(.9) = .09

.2(.8) = .16

.3(.7) = .21

.4(.6) = .24

.5(.5) = .25

By using .5 for p-hat, we are using the worst-case scenario and using the largest SD in our calculations.

Remember that, in a binomial distribution, the histogram with the

largest standard deviation was the one for probability of success of 0.5.

Page 24: Confidence Intervals with Proportions Chapter 9. Suppose we wanted to estimate the proportion of the earth that is covered by water?

Another Gallop Poll is taken in order to measure the proportion of adults who approve of attempts to clone humans. What sample size is necessary to be within + 0.04 of the true proportion of adults who approve of attempts to clone humans with a 95% Confidence Interval?

60125.600

25.96.104.

5.5.96.104.

5.5.96.104.

1*

2

n

n

n

n

npp

zm

Use p-hat = .5

Divide by 1.96

Square both sides

Round up on sample size