00:01
For this problem, we are given the information, n equals 8, x equals 40, etc.
00:05
We're as to find the equation for the least squares line as well as the correlation coefficient.
00:10
So to begin, we have the equation, y equals mx plus b, where m and b are given by the formulas shown.
00:20
So what i'll do is i'll actually just, first of all, i just need to make sure that i'm not overloading any of my variables here.
00:31
Anyways, so what we'll do is we can actually just plug in the values directly.
00:36
But let's see.
00:37
So we have 8.
00:39
We have n times the sum of x, y.
00:41
That's 240 there, minus sum of x, which is 40 times sum of y, 48, divided by n8 times sum of x squared, 210, minus the sum of x, which is 40 squared...