Hypothesis testing language: hypotheses, significance and conclusions
A hypothesis test uses sample evidence to assess a claim about a population. It does not prove that a claim is true or false. Instead, it asks whether the observed result would be sufficiently unusual if a stated model were true.
The language matters. In particular:
This lesson develops the reasoning and vocabulary used in binomial, normal and correlation hypothesis tests.
Prerequisites
Section titled “Prerequisites”You should be able to:
- distinguish a population and a sample;
- interpret probabilities and complements from probability;
- understand that a random variable varies from sample to sample;
- use a probability distribution as a mathematical model.
The logic of a test
Section titled “The logic of a test”Begin by temporarily assuming a precise claim, called the null hypothesis, is true. Use that assumption to answer:
If the null hypothesis were true, how surprising would evidence at least this extreme be?
If the evidence is very unlikely under the null hypothesis, reject it. Otherwise, do not reject it.
Worked example 1: the central idea
Section titled “Worked example 1: the central idea”A manufacturer claims that half of the sweets in a large production process are orange. A random sample of sweets contains orange sweets.
Let be the population proportion of orange sweets. Temporarily assume
If counts orange sweets, the null model is
Evidence at least as extreme as in the relevant upper direction means or :
This is possible, but extremely unlikely if . The observation is therefore strong evidence against in favour of a larger value of .
Parameters, statistics and hypotheses
Section titled “Parameters, statistics and hypotheses”A parameter describes a population and is usually unknown. A statistic is calculated from a sample and provides evidence about the parameter.
| Context | Population parameter | Sample statistic |
|---|---|---|
| Success probability | observed proportion or count | |
| Population mean | sample mean | |
| Population correlation | sample PMCC |
Hypotheses concern the unknown parameter, not the statistic already observed.
The null hypothesis, , is the precise claim tested. At A level it normally contains equality so that it specifies the probability model used in calculations.
The alternative hypothesis, , states the departure for which evidence is being sought.
Worked example 2: identify the correct symbol
Section titled “Worked example 2: identify the correct symbol”A random sample of bottles has mean volume ml. The labelled population mean is ml, and an inspector suspects underfilling.
The known value is a sample statistic. The hypotheses must concern the unknown population mean :
Writing would be wrong because has already been observed as .
Self-check 1
Section titled “Self-check 1”A researcher calculates from a sample and tests whether there is negative linear correlation in the population. Write suitable hypotheses.
Answer
Let be the population PMCC. Then
The hypotheses use , not the observed sample statistic .
Choosing one tail or two tails
Section titled “Choosing one tail or two tails”The wording of the investigation determines the alternative hypothesis and hence which results count as extreme.
| Question about parameter | Alternative hypothesis | Test | Evidence against |
|---|---|---|---|
| Has it increased? | upper tailed | unusually large values | |
| Has it decreased? | lower tailed | unusually small values | |
| Has it changed? | two tailed | unusually small or large values |
A one tailed test has one direction of departure. A two tailed test admits either direction.
Choose the tails from the question before using the data. Looking at the result first and then choosing the favourable tail makes false positive results more likely.
Worked example 3: translate words into hypotheses
Section titled “Worked example 3: translate words into hypotheses”A school has historically found that of pupils travel by bus. Write hypotheses for each investigation, where is the current population proportion.
-
The school suspects the proportion has risen.
This is upper tailed.
-
The school investigates whether the proportion is different.
This is two tailed. A decrease or an increase could count as evidence.
-
The school suspects fewer pupils now travel by bus.
This is lower tailed.
Significance level and critical region
Section titled “Significance level and critical region”The significance level, denoted by , is the maximum intended probability of rejecting when is true. Common choices are
A test requires stronger evidence than a test.
The critical region is the set of test statistic values for which is rejected. Its boundary is a critical value. The complementary set is sometimes called the acceptance region, although “do not reject” is safer language than “accept”.
For a continuous model, a two tailed test at overall level usually places in each tail:
For a discrete distribution, exact tail probabilities jump between available values. The actual significance level is therefore often less than the stated level.
Worked example 4: decide from a critical region
Section titled “Worked example 4: decide from a critical region”For a lower tailed test at the level, suppose the critical region is
- If , the observation is in the critical region, so reject .
- If , equality is included, so reject .
- If , the observation is outside the critical region, so do not reject .
If , the actual significance level is , not .
The p value
Section titled “The p value”The p value is the probability, calculated assuming is true, of obtaining the observed result or a result more extreme in the direction or directions specified by .
The decision rule is
A small p value means the data are difficult to reconcile with . It is not the probability that is true.
Worked example 5: compare a p value with two levels
Section titled “Worked example 5: compare a p value with two levels”A test gives a p value of .
At the level,
so reject . The result is statistically significant at .
At the level,
so do not reject . The result is not statistically significant at .
There is no contradiction. A smaller significance level sets a stricter standard of evidence.
Self-check 2
Section titled “Self-check 2”A test has , significance level , and p value . State the decision.
Answer
Reject because
Equality is included in the rejection rule. There is sufficient evidence at the level to suggest that .
Writing conclusions correctly
Section titled “Writing conclusions correctly”A complete conclusion contains:
- the decision, reject or do not reject ;
- the significance level;
- “sufficient evidence” or “insufficient evidence”;
- the alternative claim in context.
When the result is significant
Section titled “When the result is significant”Suppose and the result is significant at :
Reject . There is sufficient evidence at the significance level to suggest that the population proportion is greater than .
When the result is not significant
Section titled “When the result is not significant”Suppose and the result is not significant at :
Do not reject . There is insufficient evidence at the significance level to suggest that the population mean is less than .
Avoid “accept ” and “prove ”. A non-significant result may arise because is a good model, because the true departure is small, or because the sample is too small to detect it.
Worked example 6: repair an invalid conclusion
Section titled “Worked example 6: repair an invalid conclusion”A test of against gives p value . A student writes:
The probability that is true is , so .
This is invalid. The p value is calculated conditional on being true. It does not assign a probability to .
At the level, the correct argument is
so do not reject . There is insufficient evidence at the level to suggest that differs from .
Type I and Type II errors
Section titled “Type I and Type II errors”A decision can be wrong because it is based on a random sample.
| Reality | Reject | Do not reject |
|---|---|---|
| is true | Type I error | correct decision |
| is false | correct decision | Type II error |
A Type I error is rejecting a true null hypothesis. Its probability is the actual significance level:
A Type II error is failing to reject a false null hypothesis. If its probability is , then
is the probability that the test correctly rejects for that particular alternative value.
Reducing makes a Type I error less likely, but with sample size fixed it usually makes a Type II error more likely. Increasing the sample size can improve the test’s ability to detect a real departure.
Worked example 7: errors in context
Section titled “Worked example 7: errors in context”A screening process tests
against
- A Type I error occurs if a satisfactory batch is rejected.
- A Type II error occurs if an unsatisfactory batch is not rejected.
The definitions come from the hypotheses, not from which practical consequence seems more serious.
Self-check 3
Section titled “Self-check 3”A company tests against , where is the proportion of defective components. Describe both errors in context.
Answer
- Type I error: conclude that the defect proportion has increased above when it is still .
- Type II error: fail to conclude that the defect proportion has increased when in fact .
Statistical significance is not practical importance
Section titled “Statistical significance is not practical importance”A statistically significant result says that the data would be unusual under at the chosen level. It does not say that the effect is large or important.
For example, a very large sample might provide strong evidence that a mean has changed from to . The change can be statistically significant while being negligible in practice. Conversely, a potentially important observed difference can fail to be significant in a small sample because the estimate is imprecise.
Judge practical importance using context, the size of the effect and, where available, an interval estimate, not the p value alone.
Common misconceptions
Section titled “Common misconceptions”” means there is a chance that is true”
Section titled “”p=0.04p=0.04p=0.04 means there is a 4%4\%4% chance that H0H_0H0 is true””No. It means that, assuming is true, the probability of evidence at least as extreme as that observed is .
”A result outside the critical region proves ”
Section titled “”A result outside the critical region proves H0H_0H0””No. It means only that the evidence is not strong enough to reject at the chosen level.
”A significance level means of the data are wrong”
Section titled “”A 5%5\%5% significance level means 5%5\%5% of the data are wrong””No. It controls the long run probability of rejecting when is true.
”Two tailed means use in each tail”
Section titled “”Two tailed means use 5%5\%5% in each tail””No. For an overall test, the total allowance across both tails is , normally per tail.
”The observed direction chooses the alternative”
Section titled “”The observed direction chooses the alternative””No. The research question chooses before the sample result is examined.
Final self-check
Section titled “Final self-check”A café claims that the mean waiting time is minutes. A manager suspects that it has changed. A test gives p value .
- Write the hypotheses.
- Is the test one tailed or two tailed?
- State the decision at the level.
- State the decision at the level.
- Does the result show that the change is important in practice?
Answers
Let be the population mean waiting time.
- and .
- It is two tailed because a change in either direction is relevant.
- Since , reject . There is sufficient evidence at the level to suggest that the population mean waiting time has changed from minutes.
- Since , do not reject . There is insufficient evidence at the level to suggest that the population mean waiting time has changed.
- No. Statistical significance alone gives no information about the size or practical importance of the change.
Test procedure summary
Section titled “Test procedure summary”- Define the population parameter in context.
- Write and using that parameter.
- Choose one tail or two tails from the question.
- State the null distribution and significance level.
- Calculate the test statistic and p value, or find the critical region.
- Compare the p value with , or the statistic with the critical region.
- Reject or do not reject .
- Give a cautious conclusion about in context.
Next steps
Section titled “Next steps”- Apply this language to exact binomial hypothesis tests.
- Test a population mean using normal hypothesis tests.
- Test population association using hypothesis tests for correlation.