section 6.1 confidence intervals for the mean (σ known) (large samples)

31
Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Upload: felix-lamb

Post on 29-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Section 6.1

Confidence Intervals for the Mean

(σ known)

(Large Samples)

Page 2: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Section 6.1 Objectives

• Find a point estimate and a margin of error• Construct and interpret confidence intervals for the

population mean• Determine the minimum sample size required when

estimating μ

Page 3: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Point Estimate for Population μ

Point Estimate• A single value estimate for a population parameter• Most unbiased point estimate of the population mean

μ is the sample mean x

Estimate Population Parameter…

with Sample Statistic

Mean: μ x

Page 4: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Example: Point Estimate for Population μ

A social networking website allows its users to add friends, send messages, and update their personal profiles. The following represents a random sample of the number of friends for 40 users of the website. Find a point estimate of the population mean, µ.

140 105 130 97 80 165 232 110 214 201 122 98 65 88 154 133 121 82 130 211 153 114 58 77 51 247 236 109 126 132 125 149 122 74 59 218 192 90 117 105

Page 5: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Solution: Point Estimate for Population μ

The sample mean of the data is

5232130.8

40

xx

n

Your point estimate for the mean number of friends for all users of the website is 130.8 friends.

Page 6: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

115 120 125 130 135 140 150145

Point estimate

115 120 125 130 135 140 150145

Point estimate130.8x

How confident do we want to be that the interval estimate contains the population mean μ?

Interval Estimate

Interval estimate • An interval, or range of values, used to estimate a

population parameter.

( )

Interval estimate

Right endpoint146.5

Left endpoint115.1

Page 7: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Level of Confidence

Level of confidence c • The probability that the interval estimate contains the

population parameter.

zz = 0–zc zc

Critical values

½(1 – c) ½(1 – c)

c is the area under the standard normal curve between the critical values.

The remaining area in the tails is 1 – c .

c

Use the Standard Normal Table to find the corresponding z-scores.

Page 8: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

zc

Level of Confidence

• If the level of confidence is 90%, this means that we are 90% confident that the interval contains the population mean μ.

zz = 0 zc

The corresponding z-scores are ±1.645.

c = 0.90

½(1 – c) = 0.05½(1 – c) = 0.05

–zc = –1.645 zc = 1.645

Page 9: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Sampling Error

Sampling error • The difference between the point estimate and the

actual population parameter value.• For μ:

the sampling error is the difference – μ μ is generally unknown varies from sample to sample If μ =15, and is 18.5 then, sampling error is 3.5

x

xx

Page 10: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Margin of Error

Margin of error • The greatest possible distance between the point

estimate and the value of the parameter it is estimating for a given level of confidence, c.

• Denoted by E.

• Sometimes called the maximum error of estimate or error tolerance.

c x cE z zn

σσ When n ≥ 30, the sample standard deviation, s, can be used for σ.

Page 11: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Example: Finding the Margin of Error

Use the social networking website data and a 95% confidence level to find the margin of error for the mean number of friends for all users of the website. Assume the sample standard deviation is about 53.0.

Page 12: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

zc

Solution: Finding the Margin of Error

• First find the critical values

zzcz = 0

0.95

0.0250.025

–zc = –1.96

95% of the area under the standard normal curve falls within 1.96 standard deviations of the mean. (You can approximate the distribution of the sample means with a normal curve by the Central Limit Theorem, because n = 40 ≥ 30.)

zc = 1.96

Page 13: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Solution: Finding the Margin of Error

53.01.96

4016.4

c c

sE z z

n n

You don’t know σ, but since n ≥ 30, you can use s in place of σ.

You are 95% confident that the margin of error for the population mean is about 16.4 friends.

Page 14: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Confidence Intervals for the Population Mean

A c-confidence interval for the population mean μ

sample mean +/- margin of error

•The probability that the confidence interval contains μ is c.

where cx E x E E zn

Page 15: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Constructing Confidence Intervals for μ

Finding a Confidence Interval for a Population Mean (n ≥ 30 or σ known with a normally distributed population)

In Words In Symbols

1. Find the sample statistics n and .

2. Specify σ, if known. Otherwise, if n ≥ 30, find the sample standard deviation s and use it as an estimate for σ.

xxn

2( )1

x xsn

x

Page 16: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Constructing Confidence Intervals for μ

3. Find the critical value zc that corresponds to the given level of confidence.

4. Find the margin of error E.

5. Find the left and right endpoints and form the confidence interval.

Use the Standard Normal Table

Left endpoint: Right endpoint: Interval:

cE zn

x Ex E

x E x E

In Words In Symbols

Page 17: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Example: Constructing a Confidence Interval

Construct a 95% confidence interval for the mean number of friends for all users of the website.

Solution: Recall and E ≈ 16.4130.8x

130.8 16.4

114.4

x E

130.8 16.4

147.2

x E

114.4 < μ < 147.2

Left Endpoint: Right Endpoint:

Page 18: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Solution: Constructing a Confidence Interval

114.4 < μ < 147.2

With 95% confidence, you can say that the population mean number of friends is between 114.4 and 147.2.

Page 19: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Confidence Intervals for the Population Mean

• mean • 3.50 .25

• 3.50 1.00

The wider the interval, the more confident one is .

Page 20: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Example: Constructing a Confidence Interval σ Known

A college admissions director wishes to estimate the mean age of all students currently enrolled. In a random sample of 20 students, the mean age is found to be 22.9 years. From past studies, the standard deviation is known to be 1.5 years, and the population is normally distributed. Construct a 90% confidence interval of the population mean age.

Page 21: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

zc

Solution: Constructing a Confidence Interval σ Known

• First find the critical values

zz = 0 zc

c = 0.90

½(1 – c) = 0.05½(1 – c) = 0.05

–zc = –1.645 zc = 1.645

zc = 1.645

Page 22: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

• Margin of error:

• Confidence interval:

Solution: Constructing a Confidence Interval σ Known

1.51.645 0.6

20cE z

n

22.9 0.6

22.3

x E

22.9 0.6

23.5

x E

Left Endpoint: Right Endpoint:

22.3 < μ < 23.5

Page 23: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Solution: Constructing a Confidence Interval σ Known

22.3 < μ < 23.5

( )• 22.922.3 23.5

With 90% confidence, you can say that the mean age of all the students is between 22.3 and 23.5 years.

Point estimate

xx E x E

Page 24: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Interpreting the Results

• μ is a fixed number. It is either in the confidence interval or not.

• Incorrect: “There is a 90% probability that the actual mean is in the interval (22.3, 23.5).”

• Correct: “If a large number of samples is collected and a confidence interval is created for each sample, approximately 90% of these intervals will contain μ.

Page 25: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Interpreting the Results

The horizontal segments represent 90% confidence intervals for different samples of the same size.In the long run, 9 of every 10 such intervals will contain μ. μ

Page 26: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Sample Size

(multiply by square root of n)

*σ (divide by E)

= (square both sides)

2

czn

E

Page 27: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Sample Size

• Given a c-confidence level and a margin of error E, the minimum sample size n needed to estimate the population mean µ is

2

czn

E

Page 28: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Example: Sample Size

You want to estimate the mean number of friends for all users of the website. How many users must be included in the sample if you want to be 95% confident that the sample mean is within seven friends of the population mean? Assume the sample standard deviation is about 53.0.

Page 29: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

zc

Solution: Sample Size

• First find the critical values

zc = 1.96

zz = 0 zc

0.95

0.0250.025

–zc = –1.96 zc = 1.96

Page 30: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Solution: Sample Size

zc = 1.96 σ ≈ s ≈ 53.0 E = 7

2 21.96 53.0

220.237

czn

E

When necessary, round up to obtain a whole number.

You should include at least 221 users in your sample.

Page 31: Section 6.1 Confidence Intervals for the Mean (σ known) (Large Samples)

Section 6.1 Summary

• Found a point estimate and a margin of error• Constructed and interpreted confidence intervals for

the population mean• Determined the minimum sample size required when

estimating μ