Kernel regression (source code)

= Kernel regression
{wiki}

<Kernel regression> estimates a regression function using localized kernel weights rather than a fixed finite-dimensional functional form. The <Nadaraya–Watson estimator> is the local-constant version; <local polynomial regression> improves its local approximation by fitting a polynomial.