Local Regression 2D (Scripts) Publisher's description
from Arnout Tilgenkamp
This function will perform a local regression at the given points
This function will perform a local regression at the given points. Using the data at hand. You will need to input a spanwidth which will tell the function how many datapoints he will use in the local regression at each evaluation.
Assumption for use local Regression
The underlying function between y and X is continues and has a 1st derivative at any point.
X= 1 column vector with data points
y= 1 column vector with data points
spanwidth= number between 0 and 1
X0= column vector specifying the points that you want to be evaluated
robust= either 0 or 1
( if you choose 1 then robust version is used )
-The straight blue line is the local regression approximation at a certain point
- The green points are used for local regression
- The Red points are left out
- The blue dot in middle of blue line is the current point .
Please leave a comment with your opinion
System Requirements:MATLAB 7.7 (R2008b
Program Release Status: New Release
Program Install Support: Install and Uninstall