One-Sided Test vs Two-Sided Test
Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.
One-sided test
Hypothesis testing
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.
Two-sided test
Hypothesis testing
A two-sided test has an alternative hypothesis using a not-equal sign, so a departure from the null in either direction counts as evidence.
A two-sided test states with a not-equal sign, so the p-value collects probability from both tails: it is the chance, under , of a statistic at least as far from the null value as yours in either direction. The null still carries an equals sign and the test is still run at that boundary. Use it whenever the question is only whether something changed.
Take from a test of . The upper tail area is , and the two-sided p-value is 0.0801. At (alpha) that fails to reject, while the matching upper-tailed one-sided test gives 0.0401 and rejects. Identical data, opposite verdicts, which is why is written before the data are seen.
Here is the sentence to stop writing: "a two-sided p-value is always twice the one-sided p-value." The doubling needs two conditions, that the null distribution is symmetric about the null value and that the one-sided alternative points the way the data actually fell. Keep and set . That one-sided p-value is 0.9599, and twice it is 1.92, which is not a probability. The safe statement is that the two-sided p-value is twice the tail area beyond the observed statistic on the side where it landed.
Symmetry is a real condition. Test with 10 successes in 20 trials against the exact binomial null instead of a normal model. The upper tail is 0.0480, so doubling would report 0.0959, but the outcomes at least as far from the null mean of 6 are and , which total . The and models this course uses are symmetric, so doubling is safe there; the reason is the model, not the word two-sided.
A two-sided test at usually matches the 95% confidence interval, though for proportions the two can disagree in close cases, because the test builds its standard error from the null value and the interval from the sample.