Steply

Calculate 99% confidence interval: mean 4.2, sd 0.6, n 64

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

99% interval for μ: x̄ = 4.2, σ = 0.6, n = 64

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

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

And n, the sample size, is 64.

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 64 is 8.

0.6/8 is 0.075.

Times 2.576: 0.1932.

EBM = 2.576 × 0.6√64 = 2.576 × 0.68 = 0.1932

Careful!

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

Careful: not 0.664 ✗

3 The interval

Take the error bound away from the middle: 4.2 minus 0.1932 is 4.0068.

= x̄ − EBM = 4.2 − 0.1932 = 4.0068

And add it: 4.2 plus 0.1932 is 4.3932.

= x̄ + EBM = 4.2 + 0.1932 = 4.3932

The 99 percent confidence interval is (4.0068, 4.3932).

= (4.0068, 4.3932)

4 Say it in words

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

99% confident: 4.0068 < μ < 4.3932

5 Check

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

4.0068 plus 4.3932, divided by 2, is 4.2.

middle: (4.0068 + 4.3932) ÷ 2 = 4.2

Half the width should be the error bound: 4.3932 minus 4.0068, divided by 2, is 0.1932.

So it is right!

half the width: (4.3932 − 4.0068) ÷ 2 = 0.1932

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (4.0068, 4.3932)

Your turn

Try this one yourself, then check:

99% interval for μ: x̄ = 8.2, σ = 0.3, n = 64
Show the answer
(8.1034, 8.2966)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →