Steply

90% confidence interval: sample mean 68.5, sample sd 3, n 12

Step by step, with the reason for every step · Confidence interval with t · University Statistics

Step by step

The question

Question: a sample of 12 has mean 68.5 and SD 3: find the 90% confidence interval for the true mean.

90% interval for μ: x̄ = 68.5, s = 3, n = 12

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

s is the SD of the sample: 3.

And n is 12.

x̄: the sample mean, the middle
s: the SD of the sample
n: the sample size

1 Why t

We do not know σ, the SD of all the numbers.

We only have s, the SD of the sample.

So we use t instead of z.

= σ not known: use s and t

The t curve is a bit wider than the bell.

It makes the interval a bit wider, to be safe.

t: a bit wider than z, to be safe

The t-table has a row for each df, the degrees of freedom: n minus 1.

12 minus 1 is 11.

df = n − 1 = 12 − 1 = 11

2 Find t*

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

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

In the t-table we take row 11 and the 90 percent column.

Row 11, column 90%: t* = 1.796.

t* = 1.796

Careful!

df is n minus 1: 11, not 12.

Careful: not df = 12 ✗

3 Error bound

The error bound: t* times s over the square root of n.

EBM = t* × s√n

3 over the square root of 12 is about 0.866.

Times 1.796: about 1.5554.

EBM = 1.796 × 3√12 = 1.796 × ≈ 0.866 ≈ 1.5554

4 The interval

Take the error bound away from the middle: 68.5 minus 1.5554 is 66.9446.

= x̄ − EBM = 68.5 − 1.5554 = 66.9446

And add it: 68.5 plus 1.5554 is 70.0554.

= x̄ + EBM = 68.5 + 1.5554 = 70.0554

The 90 percent confidence interval is (66.9446, 70.0554).

= (66.9446, 70.0554)

5 Say it in words

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

90% confident: 66.9446 < μ < 70.0554

6 Check

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

66.9446 plus 70.0554, divided by 2, is 68.5.

middle: (66.9446 + 70.0554) ÷ 2 = 68.5

Half the width should be the error bound: 70.0554 minus 66.9446, divided by 2, is 1.5554.

So it is right!

half the width: (70.0554 − 66.9446) ÷ 2 = 1.5554

Let's look back.

First: why t.

Then: find t*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (66.9446, 70.0554)

Your turn

Try this one yourself, then check:

90% interval for μ: x̄ = 68.5, s = 1.5, n = 12
Show the answer
(67.7223, 69.2777)

More from Confidence interval with t

The whole lesson: Confidence interval with t →