statsmodels.regression.linear_model.OLSResults.ess

method

OLSResults.ess()

Explained sum of squares. If a constant is present, the centered total sum of squares minus the sum of squared residuals. If there is no constant, the uncentered total sum of squares is used.