Steply

80% confidence interval: sample mean 60, sample sd 8, 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 60 and SD 8: find the 80% confidence interval for the true mean.

80% interval for μ: x̄ = 60, s = 8, n = 16

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

s is the SD of the sample: 8.

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*

80 percent of the bell is in the middle.

That leaves 20 percent: 10 percent in each end.

80% in the middle: 20% left over, 10% in each end

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

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

Row 15, column 80%: t* = 1.341.

t* = 1.341

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.

8/4 is 2.

Times 1.341: 2.682.

EBM = 1.341 × 8√16 = 1.341 × 84 = 2.682

4 The interval

Take the error bound away from the middle: 60 minus 2.682 is 57.318.

= x̄ − EBM = 60 − 2.682 = 57.318

And add it: 60 plus 2.682 is 62.682.

= x̄ + EBM = 60 + 2.682 = 62.682

The 80 percent confidence interval is (57.318, 62.682).

= (57.318, 62.682)

5 Say it in words

In words: we are 80 percent confident that the true mean is between 57.318 and 62.682.

80% confident: 57.318 < μ < 62.682

6 Check

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

57.318 plus 62.682, divided by 2, is 60.

middle: (57.318 + 62.682) ÷ 2 = 60

Half the width should be the error bound: 62.682 minus 57.318, divided by 2, is 2.682.

So it is right!

half the width: (62.682 − 57.318) ÷ 2 = 2.682

Let's look back.

First: why t.

Then: find t*.

Then: error bound.

Then: the interval.

Then: say it in words.

Last: check.

Answer
= (57.318, 62.682)

Your turn

Try this one yourself, then check:

80% interval for μ: x̄ = 70, s = 8, n = 16
Show the answer
(67.318, 72.682)

More from Confidence interval with t

The whole lesson: Confidence interval with t →