00:01
Hey there, welcome to numerate.
00:03
So we are asked to find the regression equation between the weight of a car, of various cars, and the mpg of them.
00:14
So our format here will be y predictor equals bx where b is the slope plus a or a is our y intercept.
00:25
So in order to find the a and b coefficients, we would have to find the sum of squares first.
00:30
Sum of squares equals the sum of x minus the mean so you would have to find the means of both x and y for x we get a mean of 3 ,393 squared giving us a sum of squares of x of a really large number here so let me see what got so we have 1 ,418 ,530.
01:10
All right.
01:12
We can also find a sum of products.
01:15
Sum of products is a sum of x minus the mean 3 ,393, multiplied by y minus this mean, which is around 18 .02.
01:35
This gives us a sum of products that equals around negative.
01:43
11 ,289 .3.
01:46
So we can find these slope first, which is the sum of products divided by the sum of squares of x.
01:55
So we compute this, plug into values, giving us a slope of, so round to five decimal places, round the constant to one decimal place as needed.
02:09
So our slope, our x coefficient is basically the slope.
02:20
So, and then the constant is our y intercept.
02:25
So we get a slope of negative 0 .0.
02:28
Let me save space, 0 .00, 8 to 0, or 5 decimal places, so 796.
02:41
And we get a y intercept, taking our y mean, subtract it to our slope that we just found times our x, mean, plug in our values giving us the interest of value of 45 .0.
02:58
So our overall equation here will be y predictor equals negative 0 .00 -796 times x plus 45 .0.
03:21
All right.
03:25
So now let's to our next part here.
03:28
We have to interpret the slope and the y intercept...