5.6 determining sample size to estimate required sample size to estimate a population mean if you...

12
5.6 Determining Sample Size to Estimate

Upload: laila-hundley

Post on 01-Apr-2015

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

5.6 Determining Sample Size to Estimate

Page 2: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Required Sample Size To Estimate a Population Mean

• If you desire a C% confidence interval for a population mean with an accuracy specified by you, how large does the sample size need to be?

• We will denote the accuracy by ME, which stands for Margin of Error.

Page 3: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Example: Sample Size to Estimate a Population Mean

• Suppose we want to estimate the unknown mean height of male students at NC State with a confidence interval.

• We want to be 95% confident that our estimate is within .5 inch of

• How large does our sample size need to be?

Page 4: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Confidence Interval for

*1

*1

In terms of the margin of error ME,

the CI for can be expressed as

The confidence interval for is

so ME

n

n

x ME

sx t

n

st

n

Page 5: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

• Good news: we have an equation

• Bad news:1. Need to know s

2. We don’t know n so we don’t know the degrees of freedom to find t*n-1

*1

2*1

So we can find the sample size by solving

this equation for n:

ME

which gives

n

n

st

n

t sn

ME

Page 6: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

A Way Around this Problem: Use the Standard Normal

*

*

2*

Use the corresponding z from the standard normal

to form the equation

Solve for n:

sME z

n

z sn

ME

Page 7: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

1.96n

1.96n

.95

Confidence levelSampling distribution of x

ME ME

2

set M 1.96 and solve for

1.96

E nn

nME

Page 8: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Estimating s• Previously collected data or prior

knowledge of the population

• If the population is normal or near-normal, then s can be conservatively estimated by

s range

6

• 99.7% of obs. Within 3 of the mean

Page 9: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Example: sample size to estimate mean height µ of NCSU undergrad. male students

We want to be 95% confident that we are within .5 inch of so ME = .5; z*=1.96

• Suppose previous data indicates that s is about 2 inches.

• n= [(1.96)(2)/(.5)]2 = 61.47

• We should sample 62 male students

2*z sn

ME

Page 10: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Example: Sample Size to Estimate a Population Mean -Textbooks

• Suppose the financial aid office wants to estimate the mean NCSU semester textbook cost within ME=$25 with 98% confidence. How many students should be sampled? Previous data shows is about $85.

2 2z * σ (2.33)(85)

n 62.76ME 25

round up to n = 63

Page 11: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Example: Sample Size to Estimate a Population Mean -NFL footballs

• The manufacturer of NFL footballs uses a machine to inflate new footballs

• The mean inflation pressure is 13.5 psi, but uncontrollable factors cause the pressures of individual footballs to vary from 13.3 psi to 13.7 psi

• After throwing 6 interceptions in a game, Peyton Manning complains that the balls are not properly inflated.

The manufacturer wishes to estimate the mean inflation pressure to within .025 psi with a 99% confidence interval. How many footballs should be sampled?

Page 12: 5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population

Example: Sample Size to Estimate a Population Mean

• The manufacturer wishes to estimate the mean inflation pressure to within .025 pound with a 99% confidence interval. How may footballs should be sampled?

• 99% confidence z* = 2.58; ME = .025 = ? Inflation pressures range from 13.3 to 13.7 psi• So range =13.7 – 13.3 = .4; range/6 = .4/6 = .067

2*z

nME

488.47025.

067.58.22

n

1 2 3 48

. . .