attribute
GLS.
df_resid
The residual degree of freedom, defined as the number of observations minus the rank of the regressor matrix.
statsmodels.regression.linear_model.GLS.df_model
statsmodels.regression.linear_model.GLS.fit