

When comparing two groups, you must distinguish between one and twotail P values. Some books refer to onesided and twosided P values, which mean the same thing.
It is easiest to understand the distinction in context. So let’s imagine that you are comparing the mean of two groups (with an unpaired t test). Both one and twotail P values are based on the same null hypothesis, that two populations really are the same and that an observed discrepancy between sample means is due to chance.
A twotailed P value answers this question:
Assuming the null hypothesis is true, what is the chance that randomly selected samples would have means as far apart as (or further than) you observed in this experiment with either group having the larger mean?
To interpret a onetail P value, you must predict which group will have the larger mean before collecting any data. The onetail P value answers this question:
Assuming the null hypothesis is true, what is the chance that randomly selected samples would have means as far apart as (or further than) observed in this experiment with the specified group having the larger mean?
If the observed difference went in the direction predicted by the experimental hypothesis, the onetailed P value is half the twotailed P value (with most, but not quite all, statistical tests).
A onetailed test is appropriate when previous data, physical limitations, or common sense tells you that the difference, if any, can only go in one direction. You should only choose a onetail P value when both of the following are true.
•You predicted which group will have the larger mean (or proportion) before you collected any data. If you only made the "prediction" after seeing the data, don't even think about using a onetail P value.
•If the other group had ended up with the larger mean – even if it is quite a bit larger – you would have attributed that difference to chance and called the difference 'not statistically significant'.
Here is an example in which you might appropriately choose a onetailed P value: You are testing whether a new antibiotic impairs renal function, as measured by serum creatinine. Many antibiotics poison kidney cells, resulting in reduced glomerular filtration and increased serum creatinine. As far as I know, no antibiotic is known to decrease serum creatinine, and it is hard to imagine a mechanism by which an antibiotic would increase the glomerular filtration rate. Before collecting any data, you can state that there are two possibilities: Either the drug will not change the mean serum creatinine of the population, or it will increase the mean serum creatinine in the population. You consider it impossible that the drug will truly decrease mean serum creatinine of the population and plan to attribute any observed decrease to random sampling. Accordingly, it makes sense to calculate a onetailed P value. In this example, a twotailed P value tests the null hypothesis that the drug does not alter the creatinine level; a onetailed P value tests the null hypothesis that the drug does not increase the creatinine level.
The issue in choosing between one and twotailed P values is not whether or not you expect a difference to exist. If you already knew whether or not there was a difference, there is no reason to collect the data. Rather, the issue is whether the direction of a difference (if there is one) can only go one way. You should only use a onetailed P value when you can state with certainty (and before collecting any data) that in the overall populations there either is no difference or there is a difference in a specified direction. If your data end up showing a difference in the “wrong” direction, you should be willing to attribute that difference to random sampling without even considering the notion that the measured difference might reflect a true difference in the overall populations. If a difference in the “wrong” direction would intrigue you (even a little), you should calculate a twotailed P value.
The onetail P value is half the twotail P value.
The twotail P value is twice the onetail P value (assuming you correctly predicted the direction of the difference).