Regression Equations, Generalized Least Squares, Correlation Matrices, Python, Statsmodels.
from fitting the 8 models using OLS. Let’s examine for a minute how this DataFrame df_OLS_resid looks like: The DataFrame of residual errors from the 8 individually fitted models (Image by Author) This DataFrame has M=8 columns corresponding to the 8 equations in our equations system. Each column