How can i see calculated weights in each iteration of robustfit function in MATLAB?
2 views (last 30 days)
Show older comments
Hi everyone: When i perform robust regression by using " robustfit" function in MATLAB it gives me output like regression coefficients .It is given in description that procedure of robustfit function is based on * iteratively reweighted least squares* which an iterative procedure of calculating the weights. My question is how can i observe the calculated parameters and weights in each iteration.Because output of this command does not show any description about number of iteration and calculated weights at each iteration.What setting can i do in running this * robustfit function* so that i am able to see calculated weights at each iteration? For illustration purpose you can use default bisquare weighting function and any random data on x and y.
0 Comments
Answers (0)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!