Using robust LAR with 'nlinfit' or similar
Mostrar comentarios más antiguos
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
Respuestas (2)
Shashank Prasanna
el 5 de Feb. de 2013
0 votos
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
el 5 de Feb. de 2013
0 votos
1 comentario
Shashank Prasanna
el 5 de Feb. de 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.
Categorías
Más información sobre Support Vector Machine Regression en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!