Steply

Sample size: 95% confidence, sd 0.8, error bound 0.1

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 0.8: how big a sample do we need to be 95% confident with an error bound of 0.1?

n? 95% confidence, σ = 0.8, EBM = 0.1

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*

95 percent of the bell is in the middle.

That leaves 5 percent: 2.5 percent in each end.

95% in the middle: 5% left over, 2.5% in each end

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

Left of z* are the middle and one end: 0.95 plus 0.025 is 0.9750.

left of z* = 0.95 + 0.025 = 0.9750

Now we look for 0.9750 inside the table.

0.9750 is in the table: row 1.9, column .06.

So z = 1.96.

z* = 1.96

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.96 squared is 3.8416.

0.8 squared is 0.64.

0.1 squared is 0.01.

3.8416 times 0.64 is 2.4586.

Divided by 0.01: about 245.86.

n = 1.962 × 0.820.12 = 3.8416 × 0.640.01 = 2.45860.01 ≈ 245.86

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

245.86 rounds up to 246.

n = 246

Careful!

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

Always round up.

Careful: not n = 245 ✗

5 Check

Let's check: with 246 people the error bound is about 0.1.

That is not more than 0.1.

Good.

n = 246: EBM ≈ 0.1 ≤ 0.1

With one person less, 245, it is about 0.1002: too big.

So 246 is the smallest that works.

So it is right!

n = 245: EBM ≈ 0.1002 > 0.1

Let's look back.

First: find z*.

Then: the formula.

Then: put the numbers in.

Then: round up.

Last: check.

Answer
Careful: not n = 245 ✗

Your turn

Try this one yourself, then check:

n? 95% confidence, σ = 5, EBM = 1
Show the answer
n = 97

More from How big a sample?

The whole lesson: How big a sample? →