Using robust LAR with 'nlinfit' or similar
Ältere Kommentare anzeigen
Hello guys,
I have been playing with 'cftool' to determine the best non linear multiple regression of a data set. My best results are achieved when selecting a robust LAR (Least absolute residuals) regression.
Since I have several data sets, I want to use 'nlinfit' now to do the same thing. However, it seems that I cannot choose a LAR robust regression as the option 'WgtFun' of 'nlinfit' only accepts 'bisquare' (the default), 'andrews', 'cauchy', 'fair', 'huber', 'logistic', 'talwar', or 'welsch'.
Unfortunately, all these options provide worse results than LAR's.
Does anybody knows if it is possible to use LAR in 'nlinfit' (or a similar automatic routine)?
Thank you all,
Xavier
Antworten (2)
Shashank Prasanna
am 5 Feb. 2013
0 Stimmen
Have you tried generating MATLAB code for you CFTOOL fit?
In CFTOOL, after you perform your fit, click on File -> Generate Code
A MATLAB function will be generated which you can call as many times for your data and will perform the exact same fit you chose on the GUI.
Xavi
am 5 Feb. 2013
0 Stimmen
1 Kommentar
Shashank Prasanna
am 5 Feb. 2013
Please reply to 'my answer' rather than in a separate answer box. This helps keeping track of different answers and accepting the right answers that may be useful for the next person who has the same question.
Kategorien
Mehr zu Support Vector Machine Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!