27
Chapter 7 Confidence Intervals and Confidence Intervals and Sample Size Sample Size © Copyright McGraw-Hill 2000 7-1

Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Embed Size (px)

Citation preview

Page 1: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Chapter 7

Confidence Intervals and Confidence Intervals and Sample Size Sample Size

© Copyright McGraw-Hill 20007-1

Page 2: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

ObjectivesObjectives

Find the confidence interval for the mean when is known or n 30.

Determine the minimum sample size for finding a confidence interval for the mean.

Find the confidence interval for the mean when is unknown and n 30.

© Copyright McGraw-Hill 20007-2

Page 3: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence Intervals for the MeanConfidence Intervals for the Mean

(( Known or Known or nn 30) and Sample Size 30) and Sample Size

X

A point estimate is a specific numerical value estimate of a parameter. The best estimate of the population mean is thesample mean .

© Copyright McGraw-Hill 20007-3

Page 4: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Properties of a Good EstimatorProperties of a Good Estimator

The estimator must be an unbiased estimatorunbiased estimator. That is, the expected value or the mean of the estimates obtained from samples of a given size is equal to the parameter being estimated.

© Copyright McGraw-Hill 20007-4

Page 5: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Properties of a Good EstimatorProperties of a Good Estimator

The estimator must be consistent. For a consistent estimatorconsistent estimator, as sample size increases, the value of the estimator approaches the value of the parameter estimated.

© Copyright McGraw-Hill 20007-5

Page 6: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Properties of a Good EstimatorProperties of a Good Estimator

The estimator must be a relatively relatively efficient estimatorefficient estimator. That is, of all the statistics that can be used to estimate a parameter, the relatively efficient estimator has the smallest variance.

© Copyright McGraw-Hill 20007-6

Page 7: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence IntervalsConfidence Intervals

An interval estimateinterval estimate of a parameter is an interval or a range of values used to estimate the parameter. This estimate may or may not contain the value of the parameter being estimated.

© Copyright McGraw-Hill 20007-7

Page 8: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence IntervalsConfidence Intervals

A confidence intervalconfidence interval is a specific interval estimate of a parameter determined by using data obtained from a sample and the specific confidence level of the estimate.

© Copyright McGraw-Hill 20007-8

Page 9: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence IntervalsConfidence Intervals

The confidence levelconfidence level of an interval estimate of a parameter is the probability that the interval estimate will contain the parameter.

© Copyright McGraw-Hill 20007-9

Page 10: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Formula for the Confidence IntervalFormula for the Confidence Interval

of the Mean for a Specificof the Mean for a Specific

The confidence levelconfidence level is the percentage equivalent to the decimal value of 1 – .

X zn

X zn

2 2

© Copyright McGraw-Hill 20007-10

Page 11: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Maximum Error of EstimateMaximum Error of Estimate

The maximum error of estimatemaximum error of estimate is the maximum difference between the point estimate of a parameter and the actual value of the parameter.

© Copyright McGraw-Hill 20007-11

Page 12: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence Intervals -Confidence Intervals - Example

The president of a large university wishes to estimate the average age of the students presently enrolled. From past studies, the standard deviation is known to be 2 years. A sample of 50 students is selected, and the mean is found to be 23.2 years. Find the 95% confidence interval of the population mean.

© Copyright McGraw-Hill 20007-12

Page 13: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Since the confidence

is desired z Hence

substituting in the formula

X zn

X zn

one gets

, ,

– +

2

95%

196

2 2

interval

. .

Confidence Intervals -Confidence Intervals - Example

© Copyright McGraw-Hill 20007-13

Page 14: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

2322

5023.2

2

232 0 6 236 0 6

22 6 238

95%

22 6 238

50

. (1.96)( ) (1.96)( )

. . . .

. . or 23.2 0.6 years.

, ,

,

. .

, .

Hence the president can say with

confidence that the average age

of the students is between and

years based on students

Confidence Intervals -Confidence Intervals - Example

50

© Copyright McGraw-Hill 20007-14

Page 15: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence Intervals -Confidence Intervals - Example

A certain medication is known to increase the pulse rate of its users. The standard deviation of the pulse rate is known to be 5 beats per minute. A sample of 30 users had an average pulse rate of 104 beats per minute. Find the 99% confidence interval of the true mean.

© Copyright McGraw-Hill 20007-15

Page 16: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Since the confidence

is desired z Hence

substituting in the formula

X zn

X zn

one gets

, ,

– +

2

99%

2 58

2 2

interval

. .

Confidence Intervals -Confidence Intervals - Example

© Copyright McGraw-Hill 20007-16

Page 17: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

104 (2.58)530

104 (2.58)530

104 2 4 104 2 4

1016 1064

99%

1016 106.4

. ( ) ( )

. .

. . .

, ,

,

.

Hence one can say with

confidence that the average pulse

rate is between andbeats per minute, based on 30 users.

Confidence Intervals -Confidence Intervals - Example

© Copyright McGraw-Hill 20007-17

Page 18: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Formula for the Minimum Sample SizeFormula for the Minimum Sample Size

Needed for an Interval Estimate of the Population Needed for an Interval Estimate of the Population MeanMean

.

,

.

nz

E

where E is the error

of estimate

If necessary round the answer up

to obtain a whole number

2

2

maximum

© Copyright McGraw-Hill 20007-18

Page 19: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Minimum Sample Size Needed for an IntervalMinimum Sample Size Needed for an Interval

Estimate of the Population Mean -Estimate of the Population Mean - ExampleExample

The college president asks the statistics teacher to estimate the average age of the students at their college. How large a sample is necessary? The statistics teacher decides the estimate should be accurate within 1 year and be 99% confident. From a previous study, the standard deviation of the ages is known to be 3 years.

© Copyright McGraw-Hill 20007-19

Page 20: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Since or

z and E substituting

in nz

Egives

n

= . ( – . ),

= . , = ,

= ( . )( )

0 01 1 0 99

2 58 1

2 58 3

159 9 60

2

2

2

2

. .

Minimum Sample Size Needed for an IntervalMinimum Sample Size Needed for an Interval

Estimate of the Population Mean -Estimate of the Population Mean - ExampleExample

© Copyright McGraw-Hill 20007-20

Page 21: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Characteristics of the Characteristics of the t Distributiont Distribution

The t distribution shares some characteristics of the normal distribution and differs from it in others. The t distribution is similar to the standard normal distribution in the following ways:

It is bell-shaped.

It is symmetrical about the mean.

© Copyright McGraw-Hill 20007-21

Page 22: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Characteristics of the Characteristics of the t Distributiont Distribution

The mean, median, and mode are equal to 0 and are located at the center of the distribution.

The curve never touches the x axis.

The t distribution differs from the standard normal distribution in the following ways:

© Copyright McGraw-Hill 20007-22

Page 23: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Characteristics of the Characteristics of the t Distributiont Distribution

The variance is greater than 1.

The t distribution is actually a family of curves based on the concept of degrees of degrees of freedomfreedom, which is related to the sample size.

As the sample size increases, the t distribution approaches the standard normal distribution.

© Copyright McGraw-Hill 20007-23

Page 24: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Standard Normal Curve andStandard Normal Curve and

the the tt Distribution Distribution

© Copyright McGraw-Hill 20007-24

Page 25: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

8-3 Confidence Interval for the Mean8-3 Confidence Interval for the Mean

( ( Unknown and Unknown and nn < 30) - < 30) - Example

Ten randomly selected automobiles were stopped, and the tread depth of the right front tire was measured. The mean was 0.32 inch, and the standard deviation was 0.08 inch. Find the 95% confidence interval of the mean depth. Assume that the variable is approximately normally distributed.

© Copyright McGraw-Hill 20007-25

Page 26: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence Interval for the MeanConfidence Interval for the Mean

( ( Unknown and Unknown and nn < 30) - < 30) - Example

Since is unknown and s must replace it, the t distribution must be used with = 0.05. Hence, with 9 degrees of freedom, t/2 = 2.262 (see Table F in text).

From the next slide, we can be 95% confident that the population mean is between 0.26 and 0.38.

© Copyright McGraw-Hill 20007-26

Page 27: Chapter 7 Confidence Intervals and Sample Size © Copyright McGraw-Hill 2000 7-1

Confidence Interval for the Mean Confidence Interval for the Mean

( ( Unknown and Unknown and nn < 30) - < 30) - Example

Thus the confidence

of the population mean is found by

substituting in

X ts

X tsn

0.32–(2.262)0.0810

(2.262)0.0810

95%

0 32

0 26 0 38

2 2

interval

.

. .

n

© Copyright McGraw-Hill 20007-27