Linear Regression
aka Ordinary Least Squares (OLS)
minimizes sum of squared distances between data points and regression line
Add constant for linear regression intercept
Clean data
Regression Output
coef (SPX_Ret) - slope of regression (beta)
const: intercept of linear regression
R-squared - sign = slope sign
[corr(x,y)]^2 = R^2
Last updated