I hypothesize that greater alcohol consumption is associated with a reduced likelihood of shooting a basketball into a hoop.
If you are only looking to conduct hypothesis testing, then it would be appropriate to use a one-tailed t-test in this scenario. The reason for this is that you are not merely looking to investigate whether the performance of basketball players are different from those who consume more alcohol, but that players who consume more alcohol will score less than those players who have not consumed alcohol.
In this regard, the null and alternative hypothesis can be defined as follows:
Null hypothesis: The mean score of a player that has not consumed alcohol is the same is that of a player which has consumed alcohol.
Alternative hypothesis: The mean score of a player that has not consumed alcohol is greater than that of a player which has consumed alcohol.
To do a hypothetical analysis using R, let us assume that we are comparing performance for Player A (has not consumed alcohol) and Player B (has consumed alcohol).
Player A has a mean score of 70% while Player B has a mean score of 30% over 1000 trials.
a<-rnorm(n=1000, mean=0.7, sd=1)
b<-rnorm(n=1000, mean=0.3, sd=1)
Running a one-tailed t-test on these two samples and specifying the alternative as greater produces the following results:
> t.test(a, b, alternative="greater")
Welch Two Sample t-test
data: a and b
t = 10.257, df = 1997.8, p-value < 2.2e-16
alternative hypothesis: true difference in means is greater than 0
95 percent confidence interval:
0.3847628 Inf
sample estimates:
mean of x mean of y
0.7460357 0.2877456
Under the above test, we can see that we have a p-value of virtually 0 and thus reject the null hypothesis in favour of the alternative, i.e. that the true difference in means is greater than 0.
By simply running a two-tailed test, this would only tell us that true difference in means is not equal to 0:
> t.test(a, b, alternative="two.sided")
Welch Two Sample t-test
data: a and b
t = 10.257, df = 1997.8, p-value < 2.2e-16
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
0.3706644 0.5459159
sample estimates:
mean of x mean of y
0.7460357 0.2877456
As such, if one is looking for the alternative hypothesis to specify a direction (in this case, that performance of basketball players who have not consumed alcohol is better than those who have), then we are looking to use a one-tailed test.
You might also find the following resources of use: