1.2.18.2.2. statsmodels.api.WLS.df_resid

WLS.df_resid

The residual degree of freedom, defined as the number of observations minus the rank of the regressor matrix.