Robust regression
이전 댓글 표시
Hi,
I want to do robfit() but I want to fit an exponential function. Is there any option for robfit to do this?
Thanks for your efforts!
답변 (3개)
the cyclist
2011년 6월 29일
0 개 추천
A scan of the documentation for the robustfit() function suggests to me that that is not a default option, but that you could specify WFUN as your own exponential function.
the cyclist
2011년 6월 30일
0 개 추천
You can do a robust fit to an exponential function by using the nlinfit() function with the 'Robust' option set to 'on'. (You can set the weight function with the 'WgtFun' parameter.)
[Sorry for my other, wildly inaccurate, answer. You might want to change your "Answer" to a comment on my other answer. It will be less confusing to future readers.]
카테고리
도움말 센터 및 File Exchange에서 Multiple Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!