Steply

Calculate 95% confidence interval: mean 85, sd 12, n 9

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 9 has mean 85, and the SD of all the numbers is 12: find the 95% confidence interval for the true mean.

95% interval for μ: x̄ = 85, σ = 12, n = 9

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

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

And n, the sample size, is 9.

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*

95 percent of the bell is in the middle.

That leaves 5 percent: 2.5 percent in each end.

95% in the middle: 5% left over, 2.5% in each end

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

Left of z* are the middle and one end: 0.95 plus 0.025 is 0.9750.

left of z* = 0.95 + 0.025 = 0.9750

Now we look for 0.9750 inside the table.

0.9750 is in the table: row 1.9, column .06.

So z = 1.96.

z* = 1.96

2 Error bound

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

EBM = z* × σ√n

The square root of 9 is 3.

12/3 is 4.

Times 1.96: 7.84.

EBM = 1.96 × 12√9 = 1.96 × 123 = 7.84

Careful!

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

Careful: not 129 ✗

3 The interval

Take the error bound away from the middle: 85 minus 7.84 is 77.16.

= x̄ − EBM = 85 − 7.84 = 77.16

And add it: 85 plus 7.84 is 92.84.

= x̄ + EBM = 85 + 7.84 = 92.84

The 95 percent confidence interval is (77.16, 92.84).

= (77.16, 92.84)

4 Say it in words

In words: we are 95 percent confident that the true mean is between 77.16 and 92.84.

95% confident: 77.16 < μ < 92.84

5 Check

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

77.16 plus 92.84, divided by 2, is 85.

middle: (77.16 + 92.84) ÷ 2 = 85

Half the width should be the error bound: 92.84 minus 77.16, divided by 2, is 7.84.

So it is right!

half the width: (92.84 − 77.16) ÷ 2 = 7.84

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (77.16, 92.84)

Your turn

Try this one yourself, then check:

95% interval for μ: x̄ = 85, σ = 36, n = 9
Show the answer
(61.48, 108.52)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →