Steply

99% confidence interval: sample mean 22, sample sd 4, n 16

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

Step by step

The question

Question: a sample of 16 has mean 22 and SD 4: find the 99% confidence interval for the true mean.

99% interval for μ: x̄ = 22, s = 4, n = 16

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

s is the SD of the sample: 4.

And n is 16.

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.

16 minus 1 is 15.

df = n − 1 = 16 − 1 = 15

2 Find t*

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

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

In the t-table we take row 15 and the 99 percent column.

Row 15, column 99%: t* = 2.947.

t* = 2.947

Careful!

df is n minus 1: 15, not 16.

Careful: not df = 16 ✗

3 Error bound

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

EBM = t* × s√n

The square root of 16 is 4.

4/4 is 1.

Times 2.947: 2.947.

EBM = 2.947 × 4√16 = 2.947 × 44 = 2.947

4 The interval

Take the error bound away from the middle: 22 minus 2.947 is 19.053.

= x̄ − EBM = 22 − 2.947 = 19.053

And add it: 22 plus 2.947 is 24.947.

= x̄ + EBM = 22 + 2.947 = 24.947

The 99 percent confidence interval is (19.053, 24.947).

= (19.053, 24.947)

5 Say it in words

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

99% confident: 19.053 < μ < 24.947

6 Check

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

19.053 plus 24.947, divided by 2, is 22.

middle: (19.053 + 24.947) ÷ 2 = 22

Half the width should be the error bound: 24.947 minus 19.053, divided by 2, is 2.947.

So it is right!

half the width: (24.947 − 19.053) ÷ 2 = 2.947

Let's look back.

First: why t.

Then: find t*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (19.053, 24.947)

Your turn

Try this one yourself, then check:

99% interval for μ: x̄ = 17, s = 8, n = 16
Show the answer
(11.106, 22.894)

More from Confidence interval with t

The whole lesson: Confidence interval with t →