Statistics

Hypothesis testing step by step

The four steps of a significance test, how to read a p-value, and how to word your conclusion.

Cheat sheet · AP Stats · College · 5 sections

1The four steps (State, Plan, Do, Conclude)

  1. State: name the parameter in words, and write (no effect, an equals sign) and (what you suspect: <, > or ≠). Give the significance level α (usually 0.05).
  2. Plan: name the test and check its conditions: random sample or random assignment; independence (10% rule: n ≤ 10% of the population); normal or large enough sample (np ≥ 10 and n(1 − p) ≥ 10 for proportions; n ≥ 30 or no strong skew for means).
  3. Do: compute the test statistic and the p-value.
  4. Conclude: compare the p-value with α and answer the question in context.

2Test statistic

General form

Example, , SE :

One proportion

Example58 heads in 100 flips, : SE ,

One mean

Example, , , : , df

3Reading the p-value

The p-value is the probability, assuming is true, of getting a result at least as extreme as the one observed.

Small p-value (p < α): the result would be surprising if were true, so reject ; there is convincing evidence for .

Large p-value (p ≥ α): fail to reject ; there is not convincing evidence for . This does not prove is true.

4Errors

true false
Reject Type I error (probability α)Correct (power)
Fail to reject CorrectType II error (probability β)

Power = 1 − β. It grows with a larger sample, a larger α, or a bigger true effect.

5Conclusion template

"Because the p-value of 0.012 is less than α = 0.05, we reject . There is convincing evidence that [the parameter in context] [is greater than / less than / differs from] [the null value]."

Related