Python OLS Regression

Overview: Linear regression is one of the most commonly used tools in finance for analyzing the relationship between two or more variables. In this post, we’ll derive the formulas for estimating the unknown parameters in a linear regression using Ordinary Least Squares(OLS). We will then use those formulas to build some functions in Python. Simple Regression Suppose we are …

Continue reading Python OLS Regression