Steply

Calculate 99% confidence interval: mean 30, sd 5, n 25

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 25 has mean 30, and the SD of all the numbers is 5: find the 99% confidence interval for the true mean.

99% interval for μ: x̄ = 30, σ = 5, n = 25

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

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

And n, the sample size, is 25.

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*

99 percent of the bell is in the middle.

That leaves 1 percent: 0.5 percent in each end.

99% in the middle: 1% left over, 0.5% in each end

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

Left of z* are the middle and one end: 0.99 plus 0.005 is 0.9950.

left of z* = 0.99 + 0.005 = 0.9950

Now we look for 0.9950 inside the table.

0.9950 is halfway between 0.9949 and 0.9951.

So z is halfway between 2.57 and 2.58: 2.575.

With more digits it is 2.576.

That is the number books use.

with more digits: z* = 2.576
z* = 2.576

2 Error bound

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

EBM = z* × σ√n

The square root of 25 is 5.

5/5 is 1.

Times 2.576: 2.576.

EBM = 2.576 × 5√25 = 2.576 × 55 = 2.576

Careful!

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

Careful: not 525 ✗

3 The interval

Take the error bound away from the middle: 30 minus 2.576 is 27.424.

= x̄ − EBM = 30 − 2.576 = 27.424

And add it: 30 plus 2.576 is 32.576.

= x̄ + EBM = 30 + 2.576 = 32.576

The 99 percent confidence interval is (27.424, 32.576).

= (27.424, 32.576)

4 Say it in words

In words: we are 99 percent confident that the true mean is between 27.424 and 32.576.

99% confident: 27.424 < μ < 32.576

5 Check

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

27.424 plus 32.576, divided by 2, is 30.

middle: (27.424 + 32.576) ÷ 2 = 30

Half the width should be the error bound: 32.576 minus 27.424, divided by 2, is 2.576.

So it is right!

half the width: (32.576 − 27.424) ÷ 2 = 2.576

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (27.424, 32.576)

Your turn

Try this one yourself, then check:

99% interval for μ: x̄ = 20, σ = 10, n = 25
Show the answer
(14.848, 25.152)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →