Steply

Calculate 90% confidence interval: mean 36, sd 9, n 81

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

90% interval for μ: x̄ = 36, σ = 9, n = 81

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

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

And n, the sample size, is 81.

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

The square root of 81 is 9.

9/9 is 1.

Times 1.645: 1.645.

EBM = 1.645 × 9√81 = 1.645 × 99 = 1.645

Careful!

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

Careful: not 981 ✗

3 The interval

Take the error bound away from the middle: 36 minus 1.645 is 34.355.

= x̄ − EBM = 36 − 1.645 = 34.355

And add it: 36 plus 1.645 is 37.645.

= x̄ + EBM = 36 + 1.645 = 37.645

The 90 percent confidence interval is (34.355, 37.645).

= (34.355, 37.645)

4 Say it in words

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

90% confident: 34.355 < μ < 37.645

5 Check

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

34.355 plus 37.645, divided by 2, is 36.

middle: (34.355 + 37.645) ÷ 2 = 36

Half the width should be the error bound: 37.645 minus 34.355, divided by 2, is 1.645.

So it is right!

half the width: (37.645 − 34.355) ÷ 2 = 1.645

Let's look back.

First: find z*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (34.355, 37.645)

Your turn

Try this one yourself, then check:

90% interval for μ: x̄ = 41, σ = 27, n = 81
Show the answer
(36.065, 45.935)

More from Confidence interval for a mean

The whole lesson: Confidence interval for a mean →