Regression
Version 1.2.0.0 (1.76 KB) by
Arnout Tilgenkamp
Non parametric regression using kernels to estimate density function of residuals.
It will first to a simple regression using least squares to get a good start value. Then it will use that start value for the non parametric regression where we maximize the likelihood based on non parametric methods to estimate the probability density function.
Just type '[B]=KLMHR2(X,y)' and it will work for you.
( Where X is your matrix where each column is a explanatory variable and y is a vector which you are trying to predict )
Cite As
Arnout Tilgenkamp (2026). Regression (https://www.mathworks.com/matlabcentral/fileexchange/27838-regression), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Regression in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
