Ex. 6.1
Ex. 6.1
Show that the Nadaraya-Watson kernel smooth with fixed metric bandwidth \(\lambda\) and a Gaussian kernel is differentiable. What can be said for the Epanechnikov kernel? What can be said for the Epanechnikov kernel with adaptive nearest-neighbor bandwidth \(\lambda(x_0)\)?
Soln. 6.1
By definition of the Nadaraya-Watson kernel-weighted average, we have
With Gaussian kernel
we know \(K_\lambda(x_0, x)\neq 0\) for all \(x_0\) and \(x\) in \(\mathbb{R}\), and is differentiable in \(x_0\), so that the Nadaraya-Watson kernel-weighted average is also differentiable in \(x_0\).
With Epanechnikov kernel
with
Note that \(D(t)\) is continuous but not differentiable at \(t=1\), thus the kernel-weighted average holds the same property.
When the bandwidth is adaptive nearest-neighbor \(\lambda(x_0)\), \(\hat f(x_0)\) is still not differential by the same arguments when \(\frac{|x-x_0|}{\lambda(x_0)}\) approaches 1 from different directions.