Non-parametric regression is widely used in many scientific and engineering areas, such as image processing and pattern recognition.
Non-parametric regression is about to estimate the conditional expectation of a random variable:
E(Y|X) = f(X)
where f is a non-parametric function.
Based on the kernel density estimation technique, this code implements the so called Nadaraya-Watson kernel regression algorithm particularly using the Gaussian kernel. The default bandwidth of the regression is derived from the optimal bendwidth of the Gaussian kernel density estimation suggested in the literature. The code can also take care of missing data. |