00:01
So as we go through this problem, we're going to find out the different parts that we need to complete our anova table.
00:06
So i just put that over here so that as we go throughout, we can just fill it in.
00:10
And i also, it specifies in the problem this is from exercise number two.
00:15
The data is from exercise number two.
00:17
And in exercise number two, we got the expected regression equation where y hat is equal to 68 minus 3x.
00:24
So check that video out if you don't know where that came from, problem number two of the same chapter.
00:29
But we're just going to use this information to come up with the sum of squares of the error and the mean square of the error and other factors involved with this anova test in general.
00:40
So let's start.
00:41
So first we need to find a mean square of the error in part a, not part b, in part a.
00:50
And what we need is to come up with the sum of squares of the error, which is the following formula.
00:57
And what we need is the number of elements minus two.
01:01
So first let's come up with the sum of squares of the error.
01:04
The sum of squares of the error is simply equal to each individual y data point minus the predicted value at that x value squared.
01:16
So for example, if we know that our y hat is equal to 68 minus 3x, if we go to x equals 3 at y hat at x equals 3 is equal to 68 minus 3 times 3 which is 9 so 68 minus 59 is equal to negative 4 so what we do is we would square negative 4 and we would get the first value of the sum so that's 16 and now we would do the same thing with the second x value we have which is equal to 12 so y hat at x equals 12 is equal to 68 minus 3 times 12, which is 36.
01:59
So 68 minus 36 is 32.
02:03
And we would square at 32, or yeah, we would have 32.
02:12
And then 68 minus, sorry, and the y value at that point is 40.
02:20
So 40 minus 32 is equal to 8.
02:23
All right.
02:24
So now we would square 8.
02:27
To get 64 and we would keep doing the same thing for all our different y variables over here until we get to the end and then we would take the sum of all those variables so eventually we get a sum of squares of the error equaling 230 and now we have to come up with n minus 2 we see that we have five values right one two three three four four we have five values, so our n is equal to five.
03:04
And with that, n minus 2 is equal to 3.
03:06
So this would be equal to 230 over 3, which is approximately equal to 76 .67.
03:12
So this is the mean square of the error and the sum of squares of the error.
03:15
We got those.
03:16
So for the error, this is 230 degrees of freedom is 3, and the mean square of the error is 76 .67.
03:28
And now using this information, we can come up with our estimate of the standard error.
03:38
So what we're interested in is the estimate of the standard deviation for our beta sub or the standard error of the estimate.
03:47
So we can use this equation.
03:49
We would just take the square root of the mean square of the error, which is just equal to the square root of 76 .67, which is equal to approximately 8 .76.
04:02
All right.
04:04
And now we have to come up with the estimated standard deviation of beta sub 1.
04:10
So the estimated standard deviation of beta sub 1, this is part c, s b, sub 1, is equal to the s that we just discovered.
04:28
We centered that s that we just discovered over the sum, the square root of the sum of the differences between each individual x value and the x bar, and the x bar is just the mean of the x's.
04:44
So the mean of the x's, if we add all these values together and divide by 5, is equal to 11.
04:52
So for this, we found our s value to be equal to 8 .76, 8 .76 divided by the square root of the sum of the differences.
05:09
So our first x value is 3, so 3 minus 11 squared plus an x value is 12, 12 minus 11 squared, plus, and then you'd keep going until you get to the end of the data set.
05:25
And from this, we get a standard deviation of beta sub 1 to be 0 .6526.
05:35
So this is the answer to part c.
05:37
And now we have to test the hypotheses at alpha equals 0 .05 and with the following hypotheses.
05:49
So what this means is the null hypothesis is that there is no linear or there is no relationship between the x and y variables, whereas the alternative hypothesis is that there is a relationship...