Regression Equations, Generalized Least Squares, Correlation Matrices, Python, Statsmodels.
structure of this model: The Seemingly Unrelated Regression Model expressed using block matrices y, X, β, and ϵ (Image by Author) We assume that there are M equations in the system (in our example, M=8) and we have fed N data samples into each equation (in our example, N=182). The y matrix (vector)