statsmodels.nonparametric.kernel_regression.KernelReg.r_squared¶
- KernelReg.r_squared()[source]¶
Returns the R-Squared for the nonparametric regression.
Notes
For more details see p.45 in [2] The R-Squared is calculated by:
where
is the mean calculated in fit at the exog points.
Last update:
Oct 03, 2024