00:01
So in this problem, the first thing we're asked to do is come up with an estimated regression equation, and this is the common regression equation.
00:08
Y hat, our estimated y value, is equal to b sub 0 plus b sub 1 times x.
00:15
So the first thing we're going to do is come up with a b sub 1, which is equal to the sum of the product of the difference between each x value and mean for the x value, and y, value, each individual y value and the y bar over the sum of each the sum of squared differences for each individual x value and x bar.
00:48
So in order to do this, we first have to come up with an x bar.
00:52
An x bar is going to be equal to 2 plus 3 plus 4 plus 5 plus 7 plus 7 plus 7 plus 7 plus 7 plus 7 plus 7 7 plus 8 plus 9 divided by 1, 2, 3, 4, 5, 6, 7, 8, 9 divided by 9 values, which is equal to 5 .78.
01:23
And now we need a y bar.
01:25
And y bar is going to be equal to 4 plus 5 plus 4 plus 6 plus 4 plus 6 plus 9 plus 5 plus 11 divided by 9, which is equal.
01:39
To six.
01:42
Okay, so now that we have these, we can come up with our beta sub 1, or b sub 1 value.
01:48
So this is going to be equal to the, so b sub 1 is going to be equal to the different, the sum of the product of each individual x value.
02:06
So i'm just going to give you the values that we get after we compute all the multiplication.
02:13
And addition, divided by the sum of the difference between each individual x value and the x bar of 45 .6.
02:23
So we get a b sub 1 value of 0 .64.
02:28
Okay.
02:31
So now how did we get these values? so the sum of product of the differences is going to be equal to 2 minus 2.
02:50
5 .78 times 4 minus 6 plus 3 minus 5 .78 times 5 .78 times 4 minus 6 and so on and so forth.
03:15
And we have to do this with all the x's and ys in our data set.
03:18
And this value down here, i'll do this in red...