## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

8.3 One-Sided and Two-Sided Tests

In the teatime experiment we would discard the null hypothesis only if the lady had classified all four cups correctly. We call this a one-sided test, because only observations on one side of the reference distribution are capable of rejecting the null hypothesis. Classifying four cups correctly is the only “correct” outcome that would occur with a probability of less than 5% under the null hypothesis. Getting none of the cups right is equally improbable but that outcome would, of course, support the null hypothesis.

If we were to test the assertion that plants grown from a batch of seeds reach a certain height at a certain time after sowing, we would be making a two-sided test. The null hypothesis would be that they do reach the specified height, allowing for some random variation. It would be discarded if the plants were either too low or too high. Assuming that the height is expected to follow a normal distribution, this means that observations in two regions under the tails of the normal curve would weaken the null hypothesis. Testing at the 95% confidence level the combined area of these two tail regions would be 5%, meaning that each corresponds to 2.5% probability.

The reason that it is important to be aware if you are making a one- or two-sided test is that most tables of distribution functions assume a one-sided test. We already encountered this problem when calculating confidence intervals in Chapter 7, as the table of the t-distribution ...

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required