statsmodels.regression.linear_model.OLSResults.rsquared

OLSResults.rsquared

R-squared of the model.

This is defined here as 1 - ssr/centered_tss if the constant is included in the model and 1 - ssr/uncentered_tss if the constant is omitted.


Last update: Nov 14, 2024