One-sided test
By Jude Wallis · Updated
A one-sided test has an alternative hypothesis using < or >, so only departures from the null in one direction count as evidence.
A one-sided test states with a strict inequality, or , taken from the research question before any data are collected. The p-value is then the area in the single tail points to. The null is still tested at the boundary of equality, so carries an equals sign whichever way the alternative faces, and the null distribution is built from that boundary value.
Direction is not a detail of the arithmetic; it decides which area you read. Take from a test of . Against the p-value is and you reject at (alpha). Against , on exactly the same data, the p-value is and you are nowhere near rejecting.
The error that matters here is "the data came out high, so use the upper tail." If you always pick the tail your data fell in, you reject whenever , and under a true null that happens with probability 0.10. You advertised a 5 percent false-alarm rate and delivered 10 percent. A one-sided test is honest only when the direction was fixed before the data existed, and the price of choosing afterwards is precisely that doubling.
The trade runs both ways. A one-sided test needs less evidence to detect an effect pointing the way does, and it gives up the other direction completely: if the statistic lands on the far side of the null value from , the p-value is above 0.5 however extreme it is, climbing toward 1 as the contrary evidence strengthens. When the question is only whether something changed, the two-sided test is the default. The chi-square tests in Unit 3 have no one-sided version at all, because squaring the differences throws direction away.
The Fall 2026 course sets up tests in topics 3.5 and 4.4, the Setting Up a Test topics for proportions and for means. Choosing the direction of belongs to that step, not to the calculation after it.
Where this comes up
More hypothesis testing terms, or browse the full statistics glossary.