Steply

98% confidence interval: sample mean 100, sample sd 12, n 9

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

Step by step

The question

Question: a sample of 9 has mean 100 and SD 12: find the 98% confidence interval for the true mean.

98% interval for μ: x̄ = 100, s = 12, n = 9

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

s is the SD of the sample: 12.

And n is 9.

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.

9 minus 1 is 8.

df = n − 1 = 9 − 1 = 8

2 Find t*

98 percent of the bell is in the middle.

That leaves 2 percent: 1 percent in each end.

98% in the middle: 2% left over, 1% in each end

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

In the t-table we take row 8 and the 98 percent column.

Row 8, column 98%: t* = 2.896.

t* = 2.896

Careful!

df is n minus 1: 8, not 9.

Careful: not df = 9 ✗

3 Error bound

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

EBM = t* × s√n

The square root of 9 is 3.

12/3 is 4.

Times 2.896: 11.584.

EBM = 2.896 × 12√9 = 2.896 × 123 = 11.584

4 The interval

Take the error bound away from the middle: 100 minus 11.584 is 88.416.

= x̄ − EBM = 100 − 11.584 = 88.416

And add it: 100 plus 11.584 is 111.584.

= x̄ + EBM = 100 + 11.584 = 111.584

The 98 percent confidence interval is (88.416, 111.584).

= (88.416, 111.584)

5 Say it in words

In words: we are 98 percent confident that the true mean is between 88.416 and 111.584.

98% confident: 88.416 < μ < 111.584

6 Check

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

88.416 plus 111.584, divided by 2, is 100.

middle: (88.416 + 111.584) ÷ 2 = 100

Half the width should be the error bound: 111.584 minus 88.416, divided by 2, is 11.584.

So it is right!

half the width: (111.584 − 88.416) ÷ 2 = 11.584

Let's look back.

First: why t.

Then: find t*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (88.416, 111.584)

Your turn

Try this one yourself, then check:

98% interval for μ: x̄ = 80, s = 36, n = 9
Show the answer
(45.248, 114.752)

More from Confidence interval with t

The whole lesson: Confidence interval with t →