Kernel Regression with Variable Window Width
Updated 24 Feb 2012
This is the same as ksr and ksrlin (file File ID: #19195 and #19564), but instead of using the same bandwidth for each point, it uses a variable bandwidth given by the distance of each point to its kth nearest neighbor.
Fernando Duarte (2023). Kernel Regression with Variable Window Width (https://www.mathworks.com/matlabcentral/fileexchange/35316-kernel-regression-with-variable-window-width), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Kernel Smoothing Regression, Local Linear Kernel Regression
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.