Setting weights for robustfit command.

9 ビュー (過去 30 日間)
Janis
Janis 2013 年 1 月 10 日
I'd like to do a weighted least squares regression using the "robustfit" command, but I want to create my own variable of weights and not use one of the set weighting functions. Is this possible?
Thanks in advance, Janis

採用された回答

Tom Lane
Tom Lane 2013 年 1 月 11 日
If you want to specify the weights yourself, I recommend using glmfit or LinearModel instead of robustfit.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultiple Linear Regression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by