statsmodels.nonparametric.kernel_regression.KernelReg.fit¶
- KernelReg.fit(data_predict=None)[source]¶
Returns the mean and marginal effects at the data_predict points.
- Parameters:
- data_predictarray_like,
optional
Points at which to return the mean and marginal effects. If not given,
data_predict == exog
.
- data_predictarray_like,
- Returns: