Differences between Two-Tailed and One-Tailed Tests
Learn how to differences between two-tailed and one-tailed tests.
This question is most relevant to hypothesis testing. For simplicity, we will use two-tailed tests for all hypothesis testing in this course, except in the
-
Null hypothesis : .
-
Two-sided alternative hypothesis : .
-
One-sided null hypothesis : .
-
One-sided alternative hypothesis : .
-
One-sided null hypothesis : .
-
One-sided alternative hypothesis : .
Three pairs of null and alternative hypotheses are specified. The first pair is for a two-tailed test. The second and third pairs are for one-tailed tests, with different conditions in the null hypotheses tested.
Regardless of whether a test is one-tailed or two-tailed, the test statistic remains the same, with a degree of freedom (n − 1):
The choice of the acceptable Type I error threshold also remains the same: .
With the computed t-statistic and degree of freedom, the value will be identified from a t-distribution table, as before. However, the size of the value will differ, depending on the nature of the null hypothesis.
Two-tailed value:
Left-tailed value:
Right-tailed value:
The decision rule remains the same as well.
We illustrate how two-tailed and one-tailed tests can differ, using the following R code.
Get hands-on with 1400+ tech skills courses.