What Is a Null Hypothesis? Its Role and Limits in a Test
A null hypothesis (H₀) is a claim about a population that a statistical test uses as its reference when comparing sample results. It might state that a process mean equals a target or that a product’s mean lifetime meets a minimum standard. The null is a starting model for the test, not a fact established by the data, and it does not always mean “there is no effect.”
A null hypothesis describes a population, not a sample
A test turns a question such as “Is the mean different?” or “Is the proportion above a target?” into a statement about a numerical feature of a population. That feature is a parameter. A mean may be written as μ and a proportion as p. H₀ refers to the mean or proportion in the population of interest, not just the average or proportion observed in the sample.
In a typical two-sided comparison, the null says that a parameter equals a reference value. In a safety or quality check, falling below a required threshold may be the concern, so the null can describe an acceptable range while the alternative describes a violation.
| Question | Null hypothesis H₀ | Alternative Hₐ | What the test examines |
|---|---|---|---|
| Does a process’s mean linewidth differ from a 500 μm target? | μ = 500 | μ ≠ 500 | A deviation above or below the target |
| Does mean lifetime meet a requirement of at least 500 hours? | μ ≥ 500 | μ < 500 | Whether the mean falls below the minimum |
| Does a feature’s preference proportion differ from 50%? | p = 0.50 | p ≠ 0.50 | A difference from the reference in either direction |
The first two examples are based on NIST’s process-quality discussion. The third is a generic illustration of the notation. The values are reference points for explaining the hypotheses, not results from actual production measurements or a user survey.
How a test uses H₀
Once H₀ is specified, a test describes how a sample statistic could vary if that claim and the test’s assumptions were appropriate. A p-value summarizes how unusual the observed result is under that reference model: it is the probability of a result at least as extreme in the alternative’s direction. The calculation depends on H₀ and on assumptions such as the sampling design and independence.
So a p-value is not “the probability that the null hypothesis is true.” The American Statistical Association notes that a p-value does not measure the probability that the studied hypothesis is true or that the data arose from chance alone. It indicates how incompatible the data are with a specified statistical model. It also does not tell you the size or practical importance of an effect.
In the usual procedure with a prespecified significance level α, reject H₀ when p ≤ α. That conclusion says the data are sufficiently inconsistent with the reference claim under the selected test and assumptions; it does not prove the alternative with 100% certainty. When p > α, say fail to reject H₀. Do not say that H₀ has been accepted or that there is definitely no difference. A small or noisy sample may fail to detect a real difference when power is low.
Does H₀ always mean “no difference”?
No. In a conventional comparison, H₀ often sets a difference to zero or a parameter to a target. But a test may ask whether a requirement has been violated rather than whether any difference exists. In NIST’s quality-control example, checking whether a process’s mean linewidth departs from a 500-micrometer target uses the two-sided H₀: μ = 500. By contrast, a program monitoring whether a lot of light bulbs meets a minimum mean lifetime of 500 hours uses H₀: μ ≥ 500 and Hₐ: μ < 500 to look for shortfall.
Do not choose the direction after seeing results. “Above the target” and “different from the target” are different questions, and a one-sided test is interpretable only when its direction was set in advance. Changing Hₐ to the favorable direction after looking at the data changes the meaning of the p-value and the intended error control.
Common mistakes when reading a result
Even when H₀ is written as “no effect,” it is a mathematical reference for the test, not a confirmed fact about reality.
A small p-value does not directly give the probability that H₀ is false. It summarizes the chance of data at least as extreme as those observed if H₀ and the assumptions were true.
Failure to reject H₀ does not establish that it is true. Consider uncertainty, sample size, and power.
Statistical significance alone does not show that a difference is large or important. Consider the effect estimate, its confidence interval, and the consequences of the decision.
H₀ concerns a population parameter, not the sample result. First specify what is measured, in which population, and over what period.
In a practical report, state the exact H₀ and Hₐ, why the direction is one-sided or two-sided, the test and its assumptions, the sample size, p-value, and significance level. Also give the effect estimate and its uncertainty, and explain the smallest difference the study was designed to detect. This helps readers avoid interpreting “not significant” as “no difference at all.” If the goal is to show that two conditions are sufficiently similar, failure to reject a conventional difference test is not by itself evidence of equivalence.
References
Penn State STAT 200: setting hypotheses about population parameters
NIST Engineering Statistics Handbook: statistical tests and null-hypothesis examples
American Statistical Association: Statement on Statistical Significance and P-Values
Penn State STAT 200: Type I and II errors and interpreting non-rejection