Regression Equations, Generalized Least Squares, Correlation Matrices, Python, Statsmodels.
Z,Z,Z,Z)) R5 = np.hstack((Z,Z,Z,Z, X_matrices[4], Z,Z,Z)) R6 = np.hstack((Z,Z,Z,Z,Z, X_matrices[5], Z,Z)) R7 = np.hstack((Z,Z,Z,Z,Z,Z, X_matrices[6], Z)) R8 = np.hstack((Z,Z,Z,Z,Z,Z,Z, X_matrices[7])) X = np.vstack((R1, R2, R3, R4, R5, R6, R7, R8)) The stacked y matrix has the following block