Steply

90% confidence interval: 36 of 120 read every day

Step by step, with the reason for every step · Confidence interval for a proportion · University Statistics

Step by step

The question

Question: in a sample of 120, 36 read every day: find the 90% confidence interval for the true proportion.

90% interval for p: 36 of 120 read every day

1 Name the numbers

p prime is the part of the sample that says yes: x divided by n.

p′ = the part of the sample: x ÷ n

36 divided by 120 is 0.3.

p′ = 36120 = 0.3

q prime is the rest: 1 minus 0.3 is 0.7.

q′ = 1 − 0.3 = 0.7

Careful!

p prime is the fraction 0.3, not the count 36.

Careful: p′ is a part of 1: 36 ÷ 120, not 36

Both counts, 36 and 84, are at least 5.

So the normal bell works here.

n × p′ = 36, n × q′ = 84: both at least 5

2 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

3 Error bound

The error bound for a proportion: z* times the square root of p prime times q prime over n.

EBP = z* × √p′ q′n

0.3 times 0.7 is 0.21.

Divided by 120: 0.00175.

p′ q′n = 0.3 × 0.7120 = 0.21120 = 0.00175

The square root of that is about 0.0418.

√p′ q′n = √0.00175 ≈ 0.0418

Times 1.645: about 0.0688.

EBP = 1.645 × 0.0418 ≈ 0.0688

4 The interval

Take the error bound away from the middle: 0.3 minus 0.0688 is 0.2312.

= p′ − EBP = 0.3 − 0.0688 = 0.2312

And add it: 0.3 plus 0.0688 is 0.3688.

= p′ + EBP = 0.3 + 0.0688 = 0.3688

The 90 percent confidence interval is (0.2312, 0.3688).

= (0.2312, 0.3688)

5 Say it in words

In words: we are 90 percent confident that the true proportion is between 23.12% and 36.88%.

90% confident: between 23.12% and 36.88%

6 Check

Let's check: the middle of the interval should be 0.3.

0.2312 plus 0.3688, divided by 2, is 0.3.

middle: (0.2312 + 0.3688) ÷ 2 = 0.3

Half the width should be the error bound: 0.3688 minus 0.2312, divided by 2, is 0.0688.

So it is right!

half the width: (0.3688 − 0.2312) ÷ 2 = 0.0688

Let's look back.

First: name the numbers.

Then: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (0.2312, 0.3688)

Your turn

Try this one yourself, then check:

90% interval for p: 20 of 100 read every day
Show the answer
(0.1342, 0.2658)

More from Confidence interval for a proportion

The whole lesson: Confidence interval for a proportion →