Steply

Sample size: 90% confidence, sd 30, error bound 4

Step by step, with the reason for every step · How big a sample? · University Statistics

Step by step

The question

Question: the SD of all the numbers is 30: how big a sample do we need to be 90% confident with an error bound of 4?

n? 90% confidence, σ = 30, EBM = 4

The error bound is how far the sample mean may be from the true mean.

EBM: how far the sample mean may be from the true mean

1 Find z*

90 percent of the bell is in the middle.

That leaves 10 percent: 5 percent in each end.

90% in the middle: 10% left over, 5% in each end

z* marks the cut between the middle and the ends.

Left of z* are the middle and one end: 0.9 plus 0.05 is 0.9500.

left of z* = 0.9 + 0.05 = 0.9500

Now we look for 0.9500 inside the table.

0.9500 is halfway between 0.9495 and 0.9505.

So z is halfway between 1.64 and 1.65: 1.645.

z* = 1.645

2 The formula

The error bound is z* times σ over the square root of n.

Solved for n, it gives this formula.

from EBM = z* × σ ÷ √n, solved for n

n is z* squared times σ squared, over the error bound squared.

n = z*2 × σ2EBM2

3 Put the numbers in

1.645 squared is about 2.706.

30 squared is 900.

4 squared is 16.

2.706 times 900 is 2435.4.

Divided by 16: about 152.21.

n = 1.6452 × 30242 = 2.706 × 90016 = 2435.416 ≈ 152.21

4 Round up

A sample size must be a whole number.

We always round up: a smaller sample would miss the goal.

always round UP: a bigger sample is safe

152.21 rounds up to 153.

n = 153

Careful!

Rounding down to 152 gives an error bound a bit too big.

Always round up.

Careful: not n = 152 ✗

5 Check

Let's check: with 153 people the error bound is about 3.9897.

That is not more than 4.

Good.

n = 153: EBM ≈ 3.9897 ≤ 4

With one person less, 152, it is about 4.0028: too big.

So 153 is the smallest that works.

So it is right!

n = 152: EBM ≈ 4.0028 > 4

Let's look back.

First: find z*.

Then: the formula.

Then: put the numbers in.

Then: round up.

Last: check.

Answer
Careful: not n = 152 ✗

Your turn

Try this one yourself, then check:

n? 90% confidence, σ = 10, EBM = 3
Show the answer
n = 31

More from How big a sample?

The whole lesson: How big a sample? →