Chapter 19 Confidence Intervals for Proportions Copyright 2010

  • Slides: 38
Download presentation

Chapter 19 Confidence Intervals for Proportions Copyright © 2010 Pearson Education, Inc.

Chapter 19 Confidence Intervals for Proportions Copyright © 2010 Pearson Education, Inc.

Standard Error n Both of the sampling distributions we’ve looked at are Normal. n

Standard Error n Both of the sampling distributions we’ve looked at are Normal. n For proportions n For means Copyright © 2010 Pearson Education, Inc. Slide 19 - 3

Standard Error (cont. ) n n n When we don’t know p or σ,

Standard Error (cont. ) n n n When we don’t know p or σ, we’re stuck, right? Nope. We will use sample statistics to estimate these population parameters. Whenever we estimate the standard deviation of a sampling distribution, we call it a standard error. Copyright © 2010 Pearson Education, Inc. Slide 19 - 4

Standard Error (cont. ) n For a sample proportion, the standard error is n

Standard Error (cont. ) n For a sample proportion, the standard error is n For the sample mean, the standard error is Copyright © 2010 Pearson Education, Inc. Slide 19 - 5

A Confidence Interval n Recall that the sampling distribution model of centered at p,

A Confidence Interval n Recall that the sampling distribution model of centered at p, with standard deviation n is . Since we don’t know p, we can’t find the true standard deviation of the sampling distribution model, so we need to find the standard error: Copyright © 2010 Pearson Education, Inc. Slide 19 - 6

A Confidence Interval (cont. ) n n By the 68 -95 -99. 7% Rule,

A Confidence Interval (cont. ) n n By the 68 -95 -99. 7% Rule, we know n about 68% of all samples will have ’s within 1 SE of p n about 95% of all samples will have ’s within 2 SEs of p n about 99. 7% of all samples will have ’s within 3 SEs of p We can look at this from Copyright © 2010 Pearson Education, Inc. ’s point of view… Slide 19 - 7

A Confidence Interval (cont. ) n n Consider the 95% level: n There’s a

A Confidence Interval (cont. ) n n Consider the 95% level: n There’s a 95% chance that p is no more than 2 SEs away from. n So, if we reach out 2 SEs, we are 95% sure that p will be in that interval. In other words, if we reach out 2 SEs in either direction of , we can be 95% confident that this interval contains the true proportion. This is called a 95% confidence interval. Copyright © 2010 Pearson Education, Inc. Slide 19 - 8

A Confidence Interval (cont. ) Copyright © 2010 Pearson Education, Inc. Slide 19 -

A Confidence Interval (cont. ) Copyright © 2010 Pearson Education, Inc. Slide 19 - 9

Are they correct? n a) b) c) d) e) A survey asked “Have you

Are they correct? n a) b) c) d) e) A survey asked “Have you ever received unsolicited text messages from advertisers? ” 17% reported yes. A 95% confidence interval is 0. 17 ± 0. 04, or between 13% and 21%. In the sample, somewhere between 13% and 17% reported they had received texts. We can be 95% confident that 17% of US callers received texts. We are 95% confident that between 13% and 21% of US callers received texts. We know that between 13% and 21% of US callers received texts. 95% of all US callers have received texts. Copyright © 2010 Pearson Education, Inc. Slide 19 - 10

What Does “ 95% Confidence” Really Mean? n n Each confidence interval uses a

What Does “ 95% Confidence” Really Mean? n n Each confidence interval uses a sample statistic to estimate a population parameter. But, since samples vary, the statistics we use, and thus the confidence intervals we construct, vary as well. Copyright © 2010 Pearson Education, Inc. Slide 19 - 11

What Does “ 95% Confidence” Really Mean? (cont. ) n The figure to the

What Does “ 95% Confidence” Really Mean? (cont. ) n The figure to the right shows that some of our confidence intervals (from 20 random samples) capture the true proportion (the green horizontal line), while others do not: Copyright © 2010 Pearson Education, Inc. Slide 19 - 12

What Does “ 95% Confidence” Really Mean? (cont. ) n n Our confidence is

What Does “ 95% Confidence” Really Mean? (cont. ) n n Our confidence is in the process of constructing the interval, not in any one interval itself. Thus, we expect 95% of all 95% confidence intervals to contain the true parameter that they are estimating. Copyright © 2010 Pearson Education, Inc. Slide 19 - 13

n n Fox News polled 900 registered voters and asked them “Do you believe

n n Fox News polled 900 registered voters and asked them “Do you believe global warming exists? ” 82% said yes. Fox reported the margin of error to be ± 3% It is standard among pollsters to use a 95% confidence level. What is meant by a margin of error of ± 3% in this context? Copyright © 2010 Pearson Education, Inc. Slide 19 - 14

Margin of Error: Certainty vs. Precision n We can claim, with 95% confidence, that

Margin of Error: Certainty vs. Precision n We can claim, with 95% confidence, that the interval contains the true population proportion. n The extent of the interval on either side of is called the margin of error (ME). In general, confidence intervals have the form estimate ± ME. The more confident we want to be, the larger our ME needs to be, making the interval wider. Copyright © 2010 Pearson Education, Inc. Slide 19 - 15

Margin of Error: Certainty vs. Precision (cont. ) Copyright © 2010 Pearson Education, Inc.

Margin of Error: Certainty vs. Precision (cont. ) Copyright © 2010 Pearson Education, Inc. Slide 19 - 16

Margin of Error: Certainty vs. Precision (cont. ) n n n To be more

Margin of Error: Certainty vs. Precision (cont. ) n n n To be more confident, we wind up being less precise. n We need more values in our confidence interval to be more certain. Because of this, every confidence interval is a balance between certainty and precision. The tension between certainty and precision is always there. n Fortunately, in most cases we can be both sufficiently certain and sufficiently precise to make useful statements. Copyright © 2010 Pearson Education, Inc. Slide 19 - 17

Margin of Error: Certainty vs. Precision (cont. ) n n The choice of confidence

Margin of Error: Certainty vs. Precision (cont. ) n n The choice of confidence level is somewhat arbitrary, but keep in mind this tension between certainty and precision when selecting your confidence level. The most commonly chosen confidence levels are 90%, 95%, and 99% (but any percentage can be used). Copyright © 2010 Pearson Education, Inc. Slide 19 - 18

n n In the Fox poll of 900 voters, there was a margin of

n n In the Fox poll of 900 voters, there was a margin of error of ± 3%. It is convention among pollsters to use a 95% confidence level and to report the worst case margin of error based on p = 0. 5. How did Fox calculate their margin of error? Copyright © 2010 Pearson Education, Inc. Slide 19 - 19

Critical Values n n n The ‘ 2’ in (our 95% confidence interval) came

Critical Values n n n The ‘ 2’ in (our 95% confidence interval) came from the 68 -95 -99. 7% Rule. Using a table or technology, we find that a more exact value for our 95% confidence interval is 1. 96 instead of 2. n We call 1. 96 the critical value and denote it z*. For any confidence level, we can find the corresponding critical value (the number of SEs that corresponds to our confidence interval level). Copyright © 2010 Pearson Education, Inc. Slide 19 - 20

Critical Values (cont. ) n Example: For a 90% confidence interval, the critical value

Critical Values (cont. ) n Example: For a 90% confidence interval, the critical value is 1. 645: Copyright © 2010 Pearson Education, Inc. Slide 19 - 21

n n n 82% of poll respondents believe global warming exists. This was a

n n n 82% of poll respondents believe global warming exists. This was a 95% confidence level with margin of error ± 3% Using the critical value for Z and the standard error based on the observed proportion, what would be the margin of error for a 90% confidence interval? If Fox wanted to be 98% confident, would their interval need to be narrower or wider? If they reduced their margin of error to ± 2%, would their level of confidence be higher or lower? If they had polled more people, would their margin or error be bigger or smaller? Copyright © 2010 Pearson Education, Inc. Slide 19 - 22

Assumptions and Conditions n n All statistical models make upon assumptions. n Different models

Assumptions and Conditions n n All statistical models make upon assumptions. n Different models make different assumptions. n If those assumptions are not true, the model might be inappropriate and our conclusions based on it may be wrong. You can never be sure that an assumption is true, but you can often decide whether an assumption is plausible by checking a related condition. Copyright © 2010 Pearson Education, Inc. Slide 19 - 23

Assumptions and Conditions (cont. ) n n Here are the assumptions and the corresponding

Assumptions and Conditions (cont. ) n n Here are the assumptions and the corresponding conditions you must check before creating a confidence interval for a proportion: Independence Assumption: We first need to Think about whether the Independence Assumption is plausible. It’s not one you can check by looking at the data. Instead, we check two conditions to decide whether independence is reasonable. Copyright © 2010 Pearson Education, Inc. Slide 19 - 24

Assumptions and Conditions (cont. ) Randomization Condition: Were the data sampled at random or

Assumptions and Conditions (cont. ) Randomization Condition: Were the data sampled at random or generated from a properly randomized experiment? Proper randomization can help ensure independence. n 10% Condition: Is the sample size no more than 10% of the population? § Sample Size Assumption: The sample needs to be large enough for us to be able to use the CLT. n Success/Failure Condition: We must expect at least 10 “successes” and at least 10 “failures. ” n Copyright © 2010 Pearson Education, Inc. Slide 19 - 25

One-Proportion z-Interval n n When the conditions are met, we are ready to find

One-Proportion z-Interval n n When the conditions are met, we are ready to find the confidence interval for the population proportion, p. The confidence interval is where n The critical value, z*, depends on the particular confidence level, C, that you specify. Copyright © 2010 Pearson Education, Inc. Slide 19 - 26

Choosing Your Sample Size n n The question of how large a sample to

Choosing Your Sample Size n n The question of how large a sample to take is an important step in planning any study. Choose a Margin or Error (ME) and a Confidence Interval Level. The formula requires which we don’t have yet because we have not taken the sample. A good estimate for , which will yield the largest value for (and therefore for n) is 0. 50. Solve the formula for n. Copyright © 2010 Pearson Education, Inc. Slide 19 - 27

n n n A 2007 Gallup poll found that only 11% of a random

n n n A 2007 Gallup poll found that only 11% of a random sample of 1009 adults approved of attempts to clone a human. Construct a 95% confidence interval. Explain what the margin of error for this interval means. If we only need to be 90% confident, will the margin of error be smaller or larger? Find that margin of error. If everything else stays the same, would a smaller sample produce smaller or larger margins of error? Copyright © 2010 Pearson Education, Inc. Slide 19 - 28

n The Fox poll which estimated 82% percent believed global warming exists had a

n The Fox poll which estimated 82% percent believed global warming exists had a margin of error of ± 3% How large a sample would they need to reduce their margin or error to ± 2%? Copyright © 2010 Pearson Education, Inc. Slide 19 - 29

n n A credit card company is going to send out a mailing to

n n A credit card company is going to send out a mailing to test the market for a new credit card. A pilot study suggests that about 0. 5% of the people receiving the offer will accept it. To be within a tenth of a percentage point of the true rate, with 95% confidence, how big does the test mailing need to be? Copyright © 2010 Pearson Education, Inc. Slide 19 - 30

n Flip a coin 50 times. Calculate your observed sample proportion and find a

n Flip a coin 50 times. Calculate your observed sample proportion and find a 90% confidence interval for the true proportion of heads. Copyright © 2010 Pearson Education, Inc. Slide 19 - 31

What Can Go Wrong? Don’t Misstate What the Interval Means: n Don’t suggest that

What Can Go Wrong? Don’t Misstate What the Interval Means: n Don’t suggest that the parameter varies. n Don’t claim that other samples will agree with yours. n Don’t be certain about the parameter. n Don’t forget: It’s about the parameter (not the statistic). n Don’t claim to know too much. n Do take responsibility (for the uncertainty). n Do treat the whole interval equally. Copyright © 2010 Pearson Education, Inc. Slide 19 - 32

What Can Go Wrong? (cont. ) Margin of Error Too Large to Be Useful:

What Can Go Wrong? (cont. ) Margin of Error Too Large to Be Useful: n We can’t be exact, but how precise do we need to be? n One way to make the margin of error smaller is to reduce your level of confidence. (That may not be a useful solution. ) n You need to think about your margin of error when you design your study. n To get a narrower interval without giving up confidence, you need to have less variability. n You can do this with a larger sample… Copyright © 2010 Pearson Education, Inc. Slide 19 - 33

What Can Go Wrong? (cont. ) Choosing Your Sample Size: n In general, the

What Can Go Wrong? (cont. ) Choosing Your Sample Size: n In general, the sample size needed to produce a confidence interval with a given margin of error at a given confidence level is: n where z* is the critical value for your confidence level. To be safe, round up the sample size you obtain. Copyright © 2010 Pearson Education, Inc. Slide 19 - 34

What Can Go Wrong? (cont. ) Violations of Assumptions: n Watch out for biased

What Can Go Wrong? (cont. ) Violations of Assumptions: n Watch out for biased samples—keep in mind what you learned in Chapter 12. n Think about independence. Copyright © 2010 Pearson Education, Inc. Slide 19 - 35

What have we learned? n n n Finally we have learned to use a

What have we learned? n n n Finally we have learned to use a sample to say something about the world at large. This process (statistical inference) is based on our understanding of sampling models, and will be our focus for the rest of the book. In this chapter we learned how to construct a confidence interval for a population proportion. n Best estimate of the true population proportion is the one we observed in the sample. Copyright © 2010 Pearson Education, Inc. Slide 19 - 36

What have we learned? n n n n Best estimate of the true population

What have we learned? n n n n Best estimate of the true population proportion is the one we observed in the sample. Create our interval with a margin of error. Provides us with a level of confidence. Higher level of confidence, wider our interval. Larger sample size, narrower our interval. Calculate sample size for desired degree of precision and level of confidence. Check assumptions and condition. Copyright © 2010 Pearson Education, Inc. Slide 19 - 37

What have we learned? n We’ve learned to interpret a confidence interval by Telling

What have we learned? n We’ve learned to interpret a confidence interval by Telling what we believe is true in the entire population from which we took our random sample. Of course, we can’t be certain, but we can be confident. Copyright © 2010 Pearson Education, Inc. Slide 19 - 38