 In this video, we're going to go over the one line test that can be used for two sample mean hypothesis, a comparison of the means. And so when we wrote these null hypotheses, our null hypothesis was that the mean of gas minus the mean of wind was equal to zero. Thus, there was no difference between two data. And all alternative is that gas minus wind is less than zero, suggesting that there is a difference between the two. And here we calculated mean for the percent deficit as generation minus capacity divided by capacity. And so we did all of this prep work. And then we got into the actual randomization procedure where we calculated our sample difference. Did our reallocation procedure where we sampled from percent deficit with replace equals to false. We calculated these differences, and ultimately got a p value of zero, which suggested that we reject the null hypothesis. In terms of this one liner test, I'm going to call the results results. And again, using that stat dot sci pi library, we can say stats dot t test. And in this case, we say I and D for independent samples. And then we give it our first sample, which is sample gas. And a key point here is to make sure that you're matching the order that you write your alternative hypothesis in. And so we did gas minus wind. So our first sample is gas. And I want to also point out that we're using the actual data here. Our sample is located from the sample loc, which we calculated in step one, we're not using any of the reallocation samples, which we calculate in step three. So our first sample is sample gas. Our second sample sample wind. So here we need to say equal, very equals false. And this just tells it that the variance is not equal between the two data frames to variables. So it'll conduct a slightly different version of the t test, then if they were equal variance. And then we specify the alternative equals less since we are using a left tail test. And then after that we can say results dot p value to print the p value. And so here we can see that we are very, very close to zero, following that same pattern that we have seen in the earlier two tests. This still has the same conclusion as our randomization procedure, but with more specificity so again, we reject the null hypothesis.