Steply

Calculate 90% confidence interval: mean 5.6, sd 1.5, n 20

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

Step by step

The question

Question: a sample of 20 has mean 5.6, and the SD of all the numbers is 1.5: find the 90% confidence interval for the true mean.

90% interval for μ: x̄ = 5.6, σ = 1.5, n = 20

x̄, the sample mean, is 5.6: the middle of our interval.

σ, the SD of all the numbers, is known: 1.5.

And n, the sample size, is 20.

x̄: the sample mean, the middle
σ: the SD of all the numbers (known)
n: the sample size

The interval goes from the sample mean minus the error bound, EBM, to the sample mean plus the error bound.

interval = x̄ − EBM to x̄ + EBM

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 Error bound

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

EBM = z* × σ√n

1.5 over the square root of 20 is about 0.3354.

Times 1.645: about 0.5517.

EBM = 1.645 × 1.5√20 = 1.645 × ≈ 0.3354 ≈ 0.5517

Careful!

We divide by the square root of 20, not by 20.

Careful: not 1.520 ✗

3 The interval

Take the error bound away from the middle: 5.6 minus 0.5517 is 5.0483.

= x̄ − EBM = 5.6 − 0.5517 = 5.0483

And add it: 5.6 plus 0.5517 is 6.1517.

= x̄ + EBM = 5.6 + 0.5517 = 6.1517

The 90 percent confidence interval is (5.0483, 6.1517).

= (5.0483, 6.1517)

4 Say it in words

In words: we are 90 percent confident that the true mean is between 5.0483 and 6.1517.

90% confident: 5.0483 < μ < 6.1517

5 Check

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

5.0483 plus 6.1517, divided by 2, is 5.6.

middle: (5.0483 + 6.1517) ÷ 2 = 5.6

Half the width should be the error bound: 6.1517 minus 5.0483, divided by 2, is 0.5517.

So it is right!

half the width: (6.1517 − 5.0483) ÷ 2 = 0.5517

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (5.0483, 6.1517)

Your turn

Try this one yourself, then check:

90% interval for μ: x̄ = 4.6, σ = 1.5, n = 20
Show the answer
(4.0483, 5.1517)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →