Null and alternative hypotheses and test direction
Starting from a hypothesized population mean, learn to express research questions as statistical hypotheses
Previously, we hypothesized a population mean of 175 cm
The sample mean is 173 cm, the population standard deviation is 6 cm, and the sample size is 100. Standardizing gives:
Null hypothesis H₀
The statement initially used as the reference for the test and provisionally assumed true.
This hypothesized value is the reference used to calculate the Z statistic.
Alternative hypothesis H₁
A research claim proposed in advance based on theory, previous studies, practical experience, or preliminary observations, for which the researcher seeks supporting sample evidence.
If the question is only "Does it differ?" without specifying higher or lower in advance, use a two-sided test. The alternative hypothesis is not necessarily correct.
Note: The test direction should follow the research question specified in advance. Do not wait to see the sample results and then choose the direction more likely to be statistically significant. Hypothesis testing also cannot directly prove a hypothesis "true" or "false."
Asking only "Does it differ?": a two-sided test
Research question: Does the population mean height of male students at this university differ from 175 cm? Both higher and lower values matter. The alternative hypothesis H₁: μ ≠ 175 expresses the researcher's question: "Does the population mean differ from 175?"
Change the significance level and observe how the lower and upper critical values move. The next lesson explains rejection regions in full.
Why are there two tails?
Because the alternative hypothesis uses ≠, meaning that both directions of departure are relevant to the research question.
In a two-sided test, the significance level α is divided equally between the two tails, and the two critical values are symmetric about 0.
This plot shows the reference distribution of the test statistic when the null hypothesis holds.
Why does testing for an increase put the alternative hypothesis on the right?
For example, a school wants to determine whether students' population mean score after a training program is above 80 points. The null hypothesis should include every case "not above 80 points." The alternative hypothesis H₁: μ > 80 expresses the researcher's question: "Is the population mean above 80 points?"
Shading on the right indicates the direction of larger statistic values. The reference distribution helps illustrate direction here; precise definitions of rejection regions and critical values follow in the next lesson.
How do we interpret these hypotheses?
H₀:μ ≤ 80 includes "no increase" and "below 80."
H₁:μ > 80: only a population mean truly above 80 supports the direction of interest.
To calculate the critical probability for a right-tailed z-test, the reference distribution is usually constructed at the null hypothesis boundary μ=80. This does not mean the null hypothesis includes only equality to 80.
Why does testing for a decrease put the alternative hypothesis on the left?
For example, an environmental agency wants to determine whether the population mean pollution indicator after control measures is below 50. The null hypothesis includes every case "not below 50." The alternative hypothesis H₁: μ < 50 expresses the researcher's question: "Is the population mean below 50?"
Shading on the left indicates the direction of smaller statistic values. Here the focus is on test direction; formal decision rules come later.
How do we interpret these hypotheses?
H₀:μ ≥ 50 includes "no decrease" and "above 50."
H₁:μ < 50: the researcher seeks evidence of a decrease.
To calculate the critical probability for a left-tailed z-test, the reference distribution is usually constructed at the null hypothesis boundary μ=50.
Which direction would you choose for the research question?
Read the research question, choose two-sided, left-tailed, or right-tailed, then reveal the correct statistical hypotheses.
Does the mean height of all male students at the university differ from 175 cm?
Corresponding hypotheses
The research question determines the test direction in advance; do not choose it arbitrarily after seeing the sample results.