linearmodels.panel.results.PanelEffectsResults.corr_squared_overall

property PanelEffectsResults.corr_squared_overall : float

Overall coefficient of determination using squared correlation.

Returns:

Overall coefficient of determination.

Return type:

float

Notes

The overall rsquared measures the fit of the dependent variable on the dependent variables ignoring any included effects.

This measure is based on the squared correlation between the dependent variables and their predictions.

\[Corr[y_{it}, x_{it}\hat{\beta}]\]

This measure does not account for weights.

It is NaN if the dependent variable does not vary, up to rounding error, since the correlation is not defined, and it is 0 if the predictions do not vary. No error or warning is raised.