Steply

H0: μ = 20, Ha: μ > 20. A random sample of 25 has mean 22 and…

Step by step, with the reason for every step · AP Statistics Practice Exam 2 · AP Statistics

Step by step

The question

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

μ > 20? x̄ = 22, s = 5, 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

There are four choices.

First we solve it, the normal way.

Then we pick.

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 25 is 5.

5/5 is 1.

s√n = 5√25 = 55 = 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, 24.

df = n − 1 = 25 − 1 = 24

Careful!

df is 25 minus 1: 24.

The right way: df = n − 1 = 25 − 1 = 24.

Careful: not df = 25 ✗
right: df = n − 1 = 25 − 1 = 24 ✓

One tail: 0.05 in one end.

Row 24, column 0.05.

Row 24, column .05: t* = 1.711.

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.711 → 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.711 times 1: 21.711.

cut-off for the sample mean: 20 + 1.711 × 1 = 21.711

The sample mean, 22, is past it.

The same decision.

So it is right!

22: past it, reject

7 Pick the choice

Our answer is reject H₀.

That is choice A.

A) Reject H0

8 Why not the others

B is Do not reject H0.

Wrong: t = 2 is more than 1.711.

B) Do not reject H0 ✗ t = 2 is more than 1.711

C is Accept H0.

Wrong: a test never shows H0 is true.

C) Accept H0 ✗ a test never shows H0 is true

D is Accept Ha because 22 is more than 20.

Wrong: a sample mean above 20 is not enough: the test decides.

D) Accept Ha because 22 is more than 20 ✗ a sample mean above 20 is not enough: the test decides

Let's look back.

First: write the hypotheses.

Then: the test number.

Then: the cut-off.

Then: decide.

Then: say it in words.

Then: check.

Then: pick the choice.

Last: why not the others.

Answer
t = 2 > 1.711 → reject H0

Your turn

Try this one yourself, then check your answer:

Test μ > 40: x̄ = 44, s = 10, n = 25, α = 0.05
Show the answer
reject H0

More from AP Statistics Practice Exam 2

The whole lesson: AP Statistics Practice Exam 2 →