Step by step
The question
Question: how big a sample do we need to find a proportion, 90% confident, with an error bound of 0.02, if we guess p prime is 0.3?
1 Find z*
90 percent of the bell is in the middle.
That leaves 10 percent: 5 percent 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.
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.
2 The formula
From the error bound of a proportion, solved for n: z* squared times p prime times q prime, over the error bound squared.
p prime is 0.3, so q prime is 1 minus 0.3: 0.7.
3 Put the numbers in
1.645 squared is about 2.706.
Times 0.3 times 0.7: 0.56826.
0.02 squared is 0.0004.
Dividing gives about 1420.65.
4 Round up
A sample size must be a whole number.
We always round up: a smaller sample would miss the goal.
1420.65 rounds up to 1421.
Careful!
Rounding down to 1420 gives an error bound a bit too big.
Always round up.
5 Check
Let's check: with 1421 people the error bound is about 0.02.
That is not more than 0.02.
Good.
With one person less, 1420, it is about 0.02: too big.
So 1421 is the smallest that works.
So it is right!
Let's look back.
First: find z*.
Then: the formula.
Then: put the numbers in.
Then: round up.
Last: check.