Uniform smoothing kernel (source code)

= Uniform smoothing kernel
{title2=$K(u)=\tfrac12\mathbf1_{\{|u|\leq1\}}$}

= Uniform kernel
{synonym}

The <uniform smoothing kernel> assigns equal weight inside the window $[x-h,x+h]$ and zero weight outside. Its <Nadaraya–Watson estimator> is the average of observations in that window.