00:01
In this problem, we're going to try and find the least square line, or another way to put that is the best fit line of our linear model.
00:09
And so that means that this equation will be in the form of y equals mx plus b.
00:18
And so to solve it, we should use these two formulas that i've given here.
00:23
And i'll just break down some of the parts in it.
00:27
So n equals the number of points that have been given.
00:31
So in this problem, we have been given four points.
00:36
So our n is equal to four.
00:38
And this symbol just means summation or sum of.
00:45
And so let's get into it.
00:47
So let's solve for m first.
00:50
So m is equal to n, which is four times the sum of x times y.
00:56
So we have to multiply all our x and y values and add them together.
01:04
So 2 times 5 is 10, 0 times negative 1 is 0, 5 times 3 is 15, and 1 times negative 3 is negative 3.
01:14
So we'll sum everything up and we'll get 22 for this part...