Statistics and Mechanics Year 1, chapter 7 (Hypothesis testing), section 7.1
The idea
A hypothesis test uses sample data to decide whether a claim about a population is plausible. Here the population parameter is the probability in a binomial model.
Key terms
- Null hypothesis : the claim that is assumed true, for example .
- Alternative hypothesis : what we suspect instead, such as (one-tailed) or (two-tailed).
- Test statistic: the value from the sample, such as the number of successes .
- Significance level: the probability, often , below which we reject .
- Critical region: the set of values of the test statistic for which we reject .
- p-value: the probability, assuming is true, of a result at least as extreme as the one observed.
Steps
- State the hypotheses using the parameter .
- State the distribution of under , such as .
- Find the p-value (or the critical region).
- Compare with the significance level.
- Conclude in the context.
Writing the conclusion
- If the p-value is smaller than the significance level: "There is sufficient evidence to reject . There is evidence that ... "
- Otherwise: "There is insufficient evidence to reject . There is no evidence that ..."
You never say you have "proved" or .
One-tailed or two-tailed
- One-tailed: is "greater than" or "less than". The question suggests a direction.
- Two-tailed: is "not equal to". The question just asks whether has changed or is different.
Common mistake: writing the hypotheses in terms of the sample () instead of the parameter . They must use . Also, conclude in the context, and do not say " is true" or " is true".
Exam tip: write the hypotheses and the distribution under every time. Compare the probability with the correct significance level (half in each tail for a two-tailed test).
Check yourself
What is the null hypothesis for testing a fair coin?
.
What does a small p-value suggest?
The result is unlikely if is true, so there is evidence against .
When is a test two-tailed?
When says the parameter is different (not equal), with no direction.