how to check the 'contribution' of each predictor in a linear regression
3 ビュー (過去 30 日間)
古いコメントを表示
I have linear regression model, say with 5 predictors, . I wanted to know how we can perform tests regarding the 'contribution' of each predictor.
Does matlab have a function that tests all possible subsets of predictors and outputs the error?
Thanks
0 件のコメント
採用された回答
Star Strider
2018 年 11 月 19 日
You are describing a stepwise multiple linear regression. Seee the documentation on the stepwiselm (link) function and its friends for details.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!