statsmodels.regression.quantile_regression.QuantReg.df_resid¶ property QuantReg.df_resid¶ The residual degree of freedom. The dof is defined as the number of observations minus the rank of the regressor matrix.