00:01
Hey there, welcome to numerate.
00:02
So we're asked to find a regression equation for x and y here.
00:06
So what we have here is the format we're looking for is y -predictor equals bx where b is the slope plus a where a is our y intercept.
00:20
To find b, we take the sum of products divided by the sum of squares of x.
00:37
Our sum of products is basically the sum of x minus this means, so you just have to calculate.
00:44
The mean here, which is around 23 times y minus this mean which is also around 23.
00:55
We're going to divide this by the sum of squares of x.
00:59
So we take the sum of x minus 23 squared.
01:06
And we'll get a slope that equals around 1 .036.
01:14
All right, we can find our a intercept by taking the y mean.
01:21
Minus a slope times the x mean.
01:24
So again, we have 23 minus a slope around 1 .04 times around 23...