Probability and statistics
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.
- Estimating the line of best fit
- Correlation and Causality
- Squared Error of Regression Line
- Proof (Part 1) 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 4) Minimizing Squared Error to Regression Line
- Regression Line Example
- Second Regression Example
- R-Squared or Coefficient of Determination
- Calculating R-Squared
- Covariance and the Regression Line