Linear Regression, Data Science, Modeling, Ordinary Least Square, Regression.
“divided” by the variance/covariance matrix. best_betas is c scaled to our y values. The intuition behind this calculation is we are essentially taking the covariance of X and Y then dividing by the variance of X. We are isolating how much Y varies due to X. And there you have it! Using the above