Steply

Test the claim mean > 20: sample mean 22, sample sd 3, n 9, alpha 0.05

Step by step, with the reason for every step · Hypothesis test with t · University Statistics

Step by step

The question

Question: a sample of 9 has mean 22 and SD 3: at the 5% level, is the true mean more than 20?

μ > 20? x̄ = 22, s = 3, n = 9, α = 0.05

We only know s, the SD of the sample.

So we use t, not z.

σ not known: we use s and t

1 Write the hypotheses

H₀ is the "nothing new" idea: it has the equal sign.

Here: the mean is 20.

H0 : μ = 20

Hₐ is what we want to show.

Here: the mean is more than 20.

Ha : μ > 20

More than means only the right end counts.

One tail.

one tail: the right end

2 The test number

First the SD of the sample means: s over the square root of n.

The square root of 9 is 3.

3/3 is 1.

s√n = 3√9 = 33 = 1

t is the sample mean minus 20, over 1.

22 minus 20 is 2.

Divided by 1: 2.

t = x̄ − μ0SD = 22 − 201 = 21 = 2

3 The cut-off

The t-table needs df: n minus 1, 8.

df = n − 1 = 9 − 1 = 8

Careful!

df is 9 minus 1: 8.

Careful: not df = 9 ✗

One tail: 0.05 in one end.

Row 8, column 0.05.

Row 8, column .05: t* = 1.860.

The t curve, with the cut-off and our t.

Past the cut-off is the reject part: the rare samples.

4 Decide

Our t, 2, is past the cut-off: in the reject part.

So we reject H zero.

= t = 2 > 1.860 → reject H0

5 Say it in words

At the 5% level, there is enough evidence that

In words: at the 5% level, there is enough evidence that the mean is more than 20.

the mean is more than 20.

6 Check

Let's check with the sample mean itself.

The cut-off for it is 20 plus 1.860 times 1: 21.86.

cut-off for the sample mean: 20 + 1.860 × 1 = 21.86

The sample mean, 22, is past it.

The same decision.

So it is right!

22: past it, reject

Let's look back.

First: write the hypotheses.

Then: the test number.

Then: the cut-off.

Then: decide.

Then: say it in words.

Last: check.

Answer
= t = 2 > 1.860 → reject H0

Your turn

Try this one yourself, then check:

Test μ > 10: x̄ = 14, s = 6, n = 9, α = 0.05
Show the answer
reject H0

More from Hypothesis test with t

The whole lesson: Hypothesis test with t →