• No results found

swm02_19.ppt

N/A
N/A
Protected

Academic year: 2020

Share "swm02_19.ppt"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Chapter 19

(3)

A Confidence Interval

 Recall that the sampling distribution model of is

centered at p, with standard deviation .

 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:

ˆ

p

pq n

ˆ ˆ

( )

ˆ

pq

(4)

Slide 19- 4

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

A Confidence Interval (cont.)

 By the 68-95-99.7% Rule, we know

 about 68% of all samples will have ’s within 1

SE of p

 about 95% of all samples will have ’s within 2

SEs of p

 about 99.7% of all samples will have ’s within

3 SEs of p

 We can look at this from ’s point of view…

(5)

A Confidence Interval (cont.)

 Consider the 95% level:

 There’s a 95% chance that p is no more than 2

SEs away from .

 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.

ˆ

p

ˆ

(6)

Slide 19- 6

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

(7)
(8)

Slide 19- 8

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Margin of Error: Certainty vs. Precision (cont.)

 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

(9)

Margin of Error: Certainty vs. Precision (cont.)

 To be more confident, we wind up being less precise.

 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.

 Fortunately, in most cases we can be both sufficiently

(10)

Slide 19- 10

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

(11)
(12)

Slide 19- 12

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Critical Values (cont.)

 Example: For a 90% confidence interval, the critical value is 1.645:

(13)

Assumptions and Conditions

 Randomization Condition: Were the data sampled at

random or generated from a properly randomized experiment? Proper randomization can help ensure independence.

 10% Condition: Is the sample size no more than 10%

of the population?

 Success/Failure Condition: We must expect at least 10

“successes” and at least 10 “failures.”

 Plausible Independence Condition: Is there any reason

(14)

Slide 19- 14

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Example 1: Local Newspaper

The Houston Chronicle polls a random sample of 330 voters, finding 144 who say they will vote “yes” on the upcoming school budget. Create a 95 % confidence interval for

actual sentiment of all voters.

Plausible Independence Condition Random Sampling Condition

10% Condition

Success Failure Condition

(15)

Activity – Coin Flipping

Let’s work together to create and graph confidence intervals for each of your samples.

(16)

Slide 19- 16

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

What Does “95% Confidence” Really Mean?

(cont.)

 The figure to the

right shows that some of our

confidence

intervals capture the true proportion (the green

(17)

Example 2: New Medicine

An experiment finds that 27% of 53 subjects report improvement after using a new medicine.

 Create a 95% confidence interval for the actual

cure rate.

 Make it wider – 90% confidence interval.

 What are the advantages and the

(18)

Slide 19- 18

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Optional – Hershey’s Kisses

Toss (gently) a Hershey’s kiss 60

times. Record the number of times that it lands base down.

Calculate your sample proportion for landing base down.

Create a 90% confidence interval for landing base down. (Make sure that you check conditions!!!)

(19)

 In general, the sample size needed to produce a

confidence interval with a given margin of error at a given confidence level is:

where z* is the critical value for your confidence

level.

 

2

2

ˆ ˆ

z

pq

n

ME

(20)

Slide 19- 20

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Example 3: More Medicine

Remember the example about the experiment with a certain medicine? (Example 2) What sample size would we need in a follow-up study if we want a margin of error of 5% with 98%

References

Related documents

Large Scale Population Data Profiles Correlation of Subgroup/ Individual Patterns with Disease Progression/ Rx Outcomes Pattern Analysis to ID Subgroup/ Individual

While the median financial leverage and interest coverage ratios in Table 6 give a general indication of reasonable levels for these ratios by rating category, in practice,

pushed from the exposed electrode and collected by the dielectric surface. A space charge develops that temporarily reduces the electric field, quenching charge transfer. When

In this paper we draw on impact assessment work of the Australian Centre for International Agricultural Research (ACIAR) to present an example of meta-evaluation

- HR Shared Service Center Impact on Learning and Development Services...

Broadly speaking, the implementation of this social service involves the villagers Tangkeno since the beginning of the preparation to the evaluation stage of training. In

Examination of the walking features of patients with bilateral hallux valgus showed the absence of pain after surgery, as well as a significant increase in the coefficient

Stake.. At full size, the Soccer Goal will measure 8’ wide and 6’ tall. To adjust the size to 7’ x 5’ , press the push buttons on the top and rear assembly legs and bring the