WHT

# One Sample T Test Table | Using The T Table To Find The P-value In One-sample T Tests

Subscribe Here

2,794

781,637

## Using The T Table To Find The P-value In One-sample T Tests

Transcript:

Let’s look into using a T table to find the P value in a one sample t-test. Suppose we have a situation where we are testing the null hypothesis that Mu is equal to mu_0 against the alternative hypothesis that Mu is greater than MU_0, and we find that the observed value of the test statistic is 2.59 with sample size of 7. We need to find the p-value in order to reach an appropriate conclusion. And first we should draw in the appropriate T distribution here. For one sample t-tests, the degrees of freedom are n-1 so here we would have 6 degrees of freedom. Here I’ve drawn in a T distribution with 6 degrees of freedom and our observed value of our test. Statistic 2.59 falls somewhere around there on that distribution. With the alternative hypothesis that Mu is greater than MU_0, The p-value is the probability under the null hypothesis of getting this observed value of the test statistic or something even greater. In other words, the p-value is the area to the right of the observed value of our test statistic. That is the p value in this scenario. If we used software, we could find that. The P value is approximately 0.021, but if we have to use a T table, we’re not going to be able to find the exact value and we’re only going to be able to come up with a range of values. So let’s go to the T table and see what I mean by that. We need to find the area to the right of 2.59 under a T distribution with 6 degrees of freedom, so 2.59 is somewhere around there. This is the area we need with 6 degrees of freedom. Values in the table. Here these are t values with these areas to the right. And if we focus in here on 6 degrees of freedom, and we look along this line, we’re not going to be able to come up with 2.59 exactly, but we are going to be able to find that 2.59 falls in between these two values. And the table tells me that the area to the right of 2.447 is 0.025. So I could draw that out and at 2.447 The area out here is 0.025. And similarly. The area to the right of 3.143 is 0.01 Our value of 2.59 falls in between these two values, so the area to the right of our value must fall in between these two values. So the table tells us that this area falls in between 0.01 and 0.025. But for this alternative hypothesis, that area is the p-value, so we would simply say that the p-value falls in between 0.01 and 0.025. What if we had an alternative hypothesis in the other direction, but the alternative hypothesis was in the other direction and H_a was that the population mean Mu is actually less than mu_0. For that alternative hypothesis, the p-value is the area to the left of the observed value, the test statistic, which is simply 1 minus the area to the right of that value, which we found up top. The area to the left of 2.59 must lie between 0.975 and 0.99. Since the area to the right was between 0.01 and 0.025. And for this alternative hypothesis that area to the left is the p-value. So for this alternative, the p-value must lie between 0.975 and 0.99. What about a two-sided alternative hypothesis? Suppose we had this situation where we’re testing a two-sided alternative hypothesis, and we find an observed value of the test statistic of -1.31 We have a sample size 10 so we have 9 degrees of freedom. Here I’m just going to roughly draw in a T distribution with 9 degrees of freedom. It looks something like this. We don’t have to get it. Exactly correct here. And -1.31 is going to lie somewhere out there. As we’ve discussed previously for a two-sided alternative hypothesis, the p-value is double the area in the tail beyond the observed value of the test statistic. So here the p value is going to be double this area in the tail to the left of the test statistic. But before we go to the table, we need to remember that negative values of T are not given in the table and that’s because the T distribution is symmetric about zero, so we can find areas in the left tail by using areas in the right tail and a little logic. So here we first must recognize that. The area to the left of -1.31 is exactly equal to the area to the right of 1.31 Those two areas are exactly the same. We need to find the area to the right of 1.31 under a T distribution with 9 degrees of freedom. And if we focus in here on 9 degrees of freedom, we’d see that 1.31 lies between 1.100 and 1.383, and the table tells me that the area to the right of 1.100 is up here at 0.15. So this area is 0.15. And our value of 1.31 lies in between these two values. So the table tells me that the area to the right of 1.31 lies between 0.10 and 0.15. Which implies that the area to the left of -1.31 also lies between 0.10 and 0.15. But since the alternative hypothesis is two-sided, we must double that area to get our p-value. So the P-value must lie between 0.20 (0.1 doubled) and 0.30 (0.15 doubled). If we have access to software, it’s much better to use software to find the precise value of 0.223. If we were to do so, we’d see that the real P value from the software falls into the range of values we found from the T table.

## 0.3.0 | Wor Build 0.3.0 Installation Guide

Transcript: [MUSIC] Okay, so in this video? I want to take a look at the new windows on Raspberry Pi build 0.3.0 and this is the latest version. It's just been released today and this version you have to build by yourself. You have to get your own whim, and then you...

## Youtube Neural Network | But What Is A Neural Network? | Chapter 1, Deep Learning

Transcript: These are three, sloppily written and provided at a very low resolution of 28 x 28 pixels But your mind has no problem recognizing it as three and I want you to take a moment to appreciate How your brain can do this effortlessly and smoothly I mean this...