Steply

Test the claim mean != 12: sample mean 11.2, sample sd 2, n 25…

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

Step by step

The question

Question: a sample of 25 has mean 11.2 and SD 2: at the 5% level, is the true mean different from 12?

μ ≠ 12? x̄ = 11.2, s = 2, n = 25, α = 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 12.

H0 : μ = 12

Hₐ is what we want to show.

Here: the mean is different from 12.

Ha : μ ≠ 12

Different from means too big or too small: both ends of the bell count.

Two tails.

two tails: far on either side counts

2 The test number

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

The square root of 25 is 5.

2/5 is 0.4.

s√n = 2√25 = 25 = 0.4

t is the sample mean minus 12, over 0.4.

11.2 minus 12 is −0.8.

Divided by 0.4: −2.

t = x̄ − μ0SD = 11.2 − 120.4 = −0.80.4 = −2

3 The cut-off

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

df = n − 1 = 25 − 1 = 24

Careful!

df is 25 minus 1: 24.

Careful: not df = 25 ✗

Two tails: 0.05 is split, 0.025 in each end.

Row 24, column 0.025.

Row 24, column .025: t* = 2.064.

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

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

4 Decide

Our t, −2, is not past the cut-off.

So we do not reject H zero.

= |t| = 2 < 2.064 → do not reject H0

5 Say it in words

At the 5% level, there is not enough evidence that

In words: at the 5% level, there is not enough evidence that the mean is different from 12.

the mean is different from 12.

This does not prove H zero is true.

We just cannot rule it out.

not rejecting H0 does not prove H0

6 Check

Let's check with the sample mean itself.

The cut-off for it is 12 plus or minus 2.064 times 0.4: 11.1744 and 12.8256.

cut-off for the sample mean: 12 ± 2.064 × 0.4: 11.1744 and 12.8256

The sample mean, 11.2, is not past it.

The same decision.

So it is right!

11.2: not past it, do not 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 < 2.064 → do not reject H0

Your turn

Try this one yourself, then check:

Test μ ≠ 2: x̄ = 0.4, s = 4, n = 25, α = 0.05
Show the answer
do not reject H0

More from Hypothesis test with t

The whole lesson: Hypothesis test with t →