Mathwords logoMathwords

One-Tailed Test — Definition, Formula & Example

A one-tailed test is a hypothesis test that looks for evidence in only one direction. It asks whether a parameter is greater than a claimed value, or whether it is less than that value, but never both at once.

A one-tailed (one-sided) test has a directional alternative hypothesis, either Ha:θ>θ0H_a: \theta > \theta_0 or Ha:θ<θ0H_a: \theta < \theta_0. The entire rejection region, of area α\alpha, lies in a single tail of the test statistic's sampling distribution under H0H_0. The p-value is the probability, assuming H0H_0 is true, of a test statistic at least as extreme as the observed one in the stated direction only. A two-tailed test differs in two ways: its alternative is θ≠θ0\theta \neq \theta_0, and it splits α\alpha between both tails.

Key Formula

p-value={P(Z≥z)if Ha:μ>μ0 (right-tailed)P(Z≤z)if Ha:μ<μ0 (left-tailed)\text{p-value} = \begin{cases} P(Z \ge z) & \text{if } H_a: \mu > \mu_0 \ \text{(right-tailed)} \\ P(Z \le z) & \text{if } H_a: \mu < \mu_0 \ \text{(left-tailed)} \end{cases}
Where:
  • zz = Observed value of the test statistic, computed from the sample
  • ZZ = A standard normal random variable, which models the test statistic when H₀ is true
  • μ0\mu_0 = The parameter value claimed by the null hypothesis
  • μ\mu = The true population mean being tested

Worked Example

Problem: A coach says a new training program raises athletes' mean vertical jump above 20 inches. Jump heights have known standard deviation σ=4\sigma = 4 inches. A random sample of 64 athletes on the program has mean xˉ=20.9\bar{x} = 20.9 inches. At α=0.05\alpha = 0.05, is there evidence the true mean exceeds 20 inches? Compare your conclusion with what a two-tailed test would give.
Step 1: The claim is only about an increase, so the alternative points one way. Set this before looking at the data. Then compute the standard error.
H0:μ=20Ha:μ>20SE=464=0.5H_0: \mu = 20 \qquad H_a: \mu > 20 \qquad SE = \frac{4}{\sqrt{64}} = 0.5
Step 2: Compute the test statistic.
z=20.9−200.5=1.8z = \frac{20.9 - 20}{0.5} = 1.8
Step 3: Take the area in the right tail only. All of α\alpha sits in that tail, so the critical value is 1.645 instead of 1.96. A two-tailed test would double this area to about 0.0719, which is above 0.05, so it would not reject.
p-value=P(Z≥1.8)≈0.0359<0.05,z=1.8>1.645\text{p-value} = P(Z \ge 1.8) \approx 0.0359 < 0.05, \qquad z = 1.8 > 1.645
Answer: Reject H0H_0. The one-tailed p-value is about 0.0359, so there is convincing evidence that the program raises the mean jump above 20 inches. The same data would not be significant in a two-tailed test, because that p-value is about 0.0719.

Why It Matters

On AP Statistics free-response questions, your alternative hypothesis must match the wording of the question. Phrases such as "greater than," "reduced," or "improves" call for a one-tailed test. Graders check that your p-value uses the matching tail. In A/B testing, analysts also run one-sided tests when only an improvement would lead to a decision.

Common Mistakes

Mistake: Choosing the direction after seeing the data. A common version is switching from a two-tailed to a one-tailed test because the two-tailed p-value was just above 0.05.
Correction: The direction must come from the research question, before you collect data. Picking the tail after seeing the data effectively doubles your chance of a Type I error. If you would care about a change in either direction, use a two-tailed test.

Related Terms

  • Binomial Test — Exact proportion test that can be run one-tailed
  • Two-Tailed Test — Non-directional alternative that splits alpha across both tails
  • Hypothesis Testing — Full procedure in which you choose one or two tails
  • p-value — Computed from a single tail area in this test
  • Critical Value — Cutoff that shifts to 1.645 for one-sided alpha 0.05
  • Null Hypothesis — The claim the directional alternative is tested against
  • Test Statistic — Value compared against the single-tail rejection region