What Is an Alternative Hypothesis? Choose Its Direction Before Testing
An alternative hypothesis (Hₐ or H₁) states the population difference or direction that sample data may support. Use a two-sided alternative when asking whether a parameter differs from a reference; use a one-sided alternative when only a prespecified direction answers the question. Choose the direction before reviewing results. Rejecting the null does not prove Hₐ with certainty or show that the effect is practically large.
What question does Hₐ express?
A test question should concern a target population, not merely the observed difference in a sample. It describes a numerical population feature called a parameter. A mean can be written as μ, a proportion as p, and a difference between two groups as p₁ − p₂ or μ₁ − μ₂. Define the outcome, groups, period, and parameter before writing Hₐ.
| Research question | Example null H₀ | Example alternative Hₐ | What the direction means |
|---|---|---|---|
| Does a process’s mean linewidth differ from a 500 μm target? | μ = 500 | μ ≠ 500 | Deviations above or below the target matter |
| Is mean lifetime below the 500-hour requirement? | μ ≥ 500 | μ < 500 | A left-sided question looks for shortfall |
| Does the proportion preferring a new feature differ from the current one? | p_new − p_current = 0 | p_new − p_current ≠ 0 | A difference in either direction matters |
The first two examples follow NIST’s process-quality discussion. The third is a hypothetical question illustrating notation; it includes no observed rates, sample, or test result. If the question is whether the new feature has a higher preference rate, the alternative changes to a right-sided claim such as p_new − p_current > 0.
Two-sided and one-sided alternatives make different claims
A two-sided alternative looks for a departure in either direction. It fits a question where both an increase and a decrease from the reference could matter. A one-sided alternative looks only in a direction set in advance. It can fit a decision such as detecting a shortfall below a safety threshold or checking for a prespecified improvement.
A one-sided test is not automatically better. Focusing on one direction can improve detection of effects in that direction, but the test does not answer the same question about the opposite direction. If a test was designed to detect an increase, data suggesting a decrease do not prove the increase or rule out harm. When the opposite direction also matters for the real decision, a two-sided question or separate safety criterion may be more appropriate.
Set the direction before seeing the data. “Above the target” and “different from the target” are different questions. Changing an originally two-sided question to one-sided because the observed result happens to point that way does not preserve the planned error rate or p-value interpretation. If the analysis plan changes, label the changed analysis exploratory and distinguish it from a confirmatory test.
What a test result can say about Hₐ
A test evaluates how compatible the data are with H₀ under a specified method and its assumptions. With a prespecified significance level, rejecting H₀ means the data provide evidence consistent with the chosen alternative direction. It does not calculate the probability that Hₐ is true. A p-value is the probability of data at least as extreme as those observed if the null and test assumptions hold; it is not the probability that the alternative is true.
Failing to reject H₀ does not prove Hₐ false. A small sample or high variability can miss a meaningful difference. Power depends on which effect size within the alternative you want the study to detect, so plan sample size and resources around the smallest effect that would change a decision.
Hₐ’s direction does not tell you how large the difference is. Report estimates for each group, the estimated difference, its confidence interval, sample size, and the decision context. Statistical significance alone cannot tell whether the effect is practically important. A small but significant difference may not justify a change, while a nonsignificant result can still be compatible with a consequential effect if uncertainty is wide.
What to specify in an analysis plan
The target population, outcome, period, and parameter
The exact H₀ and Hₐ, including how the difference is defined
Why a one-sided or two-sided direction answers the decision question
The test method, key assumptions, significance level, and plan for multiple outcomes
The effect estimate, confidence interval, sample size, and limitations when reporting
Stating these choices in advance reduces the temptation to change the question to match the result and helps readers understand which differences the test was designed to detect.
References
Penn State STAT 200: alternative directions and hypotheses about population parameters
NIST Engineering Statistics Handbook: examples of one-sided and two-sided statistical tests
American Statistical Association: Statement on Statistical Significance and P-Values
Penn State STAT 200: power, effect size, and interpreting non-rejection