WEBVTT

1
00:00:00.000 --> 00:00:15.674
Here is the problem: Find the least-squares regression line for x equals 1, 2, 3, 4, 5, 6 and y equals 52, 58, 61, 67, 70, 78.

2
00:00:16.123 --> 00:00:26.201
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:27.000 --> 00:00:28.474
Means of x and y.

4
00:00:28.924 --> 00:00:32.128
Sums of squares and cross-products about the means.

5
00:00:32.578 --> 00:00:33.100
Slope.

6
00:00:33.550 --> 00:00:37.033
Intercept: the line passes through the point of means.

7
00:00:37.833 --> 00:00:38.971
Regression line.

8
00:00:39.421 --> 00:00:50.149
Correlation and coefficient of determination. Strong positive linear association; about 98.44 percent of the variation in y is explained by the line.

9
00:00:50.949 --> 00:01:08.469
So the answer is ŷ equals 707 over 15 plus (172 over 35)x; r approximately 0.992161, r squared approximately 0.984383.

10
00:01:08.919 --> 00:01:18.428
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:19.228 --> 00:01:23.582
The residuals sum to 0, as they must for a least-squares line.
