Statistics and Mechanics Year 1, chapter 7 (Hypothesis testing), section 7.3
Method
- State and (with a direction).
- State the distribution of under .
- Find the p-value: for , ; for , .
- Compare with the significance level and conclude.
Worked example 1
A coin is tossed times and lands heads times. Test at the level whether it is biased towards heads.
and , where is the probability of heads. Under , .
, so reject . There is sufficient evidence, at the level, that the coin is biased towards heads.
Worked example 2: not rejecting
heads in tosses: , so there is insufficient evidence to reject : no evidence the coin is biased.
Using the critical region
For and at , the critical region is , since and . An observation of is in the critical region, so reject .
Wording
Use "sufficient evidence" or "insufficient evidence" and refer to the context. Do not say "the coin is biased" as a proven fact.
Common mistake: comparing the wrong probability. For an upper-tail test, use and include the observed value. If you use you leave out the observed value, which gives the wrong p-value.
Exam tip: set out the hypotheses, distribution, probability, comparison and conclusion on separate lines. The conclusion should mention the context and the significance level.
Check yourself
Write the hypotheses for testing whether a die shows six more often.
and .
The p-value is at the level. What is the decision?
Reject , since .
How do you find the p-value for and observed ?
.