00:01
So this scatter plot shows the relationship between height, which is being measured or used the variable h and weight, which is being represented by the variable w, of 12 men.
00:14
And the data is plotted as h comma w.
00:17
So instead of what is normally x, comma, y, we want to know that h is matching up with x and w is matching up with y.
00:26
So then we're asked to draw a line through the points 68, 155, and 73, 195.
00:33
So 68 would be 65, 66, 67, 68, and then 155 would be right here.
00:41
And then 73, 195, 71, 72, 73, and then 195 would be here.
00:49
So i'm going to go ahead and do that.
00:51
So one thing that's just worth noting is that neither of these two points, we're actually points of data of the 12 men, but they're just the two points that are going to give us the best line to model this data.
01:06
And so when we find our line of best fit or create a linear regression, we don't have to use data points within the set.
01:13
So now we're going to find the equation of this line in slope intercept form.
01:18
And so normally slope intercept form is y equals mx plus b, but remember we're not using y and x.
01:24
We're using w and h.
01:28
And so to find the slope between these two points, i might use the subtraction fraction fraction.
01:36
So m equals y2 minus y1 over x2 minus x1.
01:41
And so i would do 195 minus 155 over 73 minus 68, which would give me 40 over 5 for a slope of 8.
01:55
Now to find the intercept, i would choose one of my two points, so i might use actually the first one just because the number is a little bit smaller...