Kernel Smoothing Regression

Version 1.2.0.0 (2.16 KB) by Yi Cao
A non-parametrical regression (smoothing) tool using Gaussian kernel.
19K Downloads
Updated 24 Dec 2008

View License

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.

Cite As

Yi Cao (2024). Kernel Smoothing Regression (https://www.mathworks.com/matlabcentral/fileexchange/19195-kernel-smoothing-regression), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

add an error case

1.0.0.0

update with error checking.