Steply

Calculate 99% confidence interval: mean 215, sd 30, n 45

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

99% interval for μ: x̄ = 215, σ = 30, n = 45

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

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

And n, the sample size, is 45.

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

30 over the square root of 45 is about 4.4721.

Times 2.576: about 11.5202.

EBM = 2.576 × 30√45 = 2.576 × ≈ 4.4721 ≈ 11.5202

Careful!

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

Careful: not 3045 ✗

3 The interval

Take the error bound away from the middle: 215 minus 11.5202 is 203.4798.

= x̄ − EBM = 215 − 11.5202 = 203.4798

And add it: 215 plus 11.5202 is 226.5202.

= x̄ + EBM = 215 + 11.5202 = 226.5202

The 99 percent confidence interval is (203.4798, 226.5202).

= (203.4798, 226.5202)

4 Say it in words

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

99% confident: 203.4798 < μ < 226.5202

5 Check

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

203.4798 plus 226.5202, divided by 2, is 215.

middle: (203.4798 + 226.5202) ÷ 2 = 215

Half the width should be the error bound: 226.5202 minus 203.4798, divided by 2, is 11.5202.

So it is right!

half the width: (226.5202 − 203.4798) ÷ 2 = 11.5202

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (203.4798, 226.5202)

Your turn

Try this one yourself, then check:

99% interval for μ: x̄ = 235, σ = 60, n = 45
Show the answer
(211.9596, 258.0404)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →