WEBVTT

1
00:00:00.000 --> 00:00:13.200
Here is the problem: Find the least-squares regression line for x equals 10, 20, 30, 40, 50 and y equals 48, 41, 35, 30, 22.

2
00:00:13.650 --> 00:00:23.588
Fit the straight line ŷ equals a plus bx that minimises the sum of squared vertical distances to the data, and measure how well it fits with r and r squared.

3
00:00:24.388 --> 00:00:25.851
Means of x and y.

4
00:00:26.301 --> 00:00:29.552
Sums of squares and cross-products about the means.

5
00:00:30.002 --> 00:00:30.524
Slope.

6
00:00:30.974 --> 00:00:34.376
Intercept: the line passes through the point of means.

7
00:00:35.176 --> 00:00:36.337
Regression line.

8
00:00:36.787 --> 00:00:47.515
Correlation and coefficient of determination. Strong negative linear association; about 99.52 percent of the variation in y is explained by the line.

9
00:00:48.315 --> 00:01:06.914
So the answer is ŷ equals 541 over 10 minus (63 over 100)x; r approximately negative 0.997615, r squared approximately 0.995236.

10
00:01:07.364 --> 00:01:17.012
The slope is the predicted change in y for each one-unit increase in x. Correlation measures the strength of the linear pattern, not whether x causes y.

11
00:01:17.812 --> 00:01:22.177
The residuals sum to 0, as they must for a least-squares line.
