Khan Academy on a Stick
Regression
Fitting a line to points. Linear regression. R-squared.
-
Correlation and causality
Understanding why correlation does not imply causality (even though many in the press and some researchers often imply otherwise)
- Fitting a line to data
- Estimating the line of best fit exercise
-
Squared error of regression line
Introduction to the idea that one can find a line that minimizes the squared distances to the points
-
Proof (part 1) minimizing squared error to regression line
Proof (Part 1) Minimizing Squared Error to Regression Line
-
Proof (part 2) minimizing squared error to regression line
Proof Part 2 Minimizing Squared Error to Line
-
Proof (part 3) minimizing squared error to regression line
Proof (Part 3) Minimizing Squared Error to Regression Line
-
Proof (part 4) minimizing squared error to regression line
Proof (Part 4) Minimizing Squared Error to Regression Line
-
Regression line example
Regression Line Example
-
Second regression example
Second Regression Example
-
R-squared or coefficient of determination
R-Squared or Coefficient of Determination
-
Calculating R-squared
Calculating R-Squared to see how well a regression line fits data
-
Covariance and the regression line
Covariance, Variance and the Slope of the Regression Line
Linear regression and correlation
Even when there might be a rough linear relationship between two variables, the data in the real-world is never as clean as you want it to be. This tutorial helps you think about how you can best fit a line to the relationship between two variables.