Stepwise regression with no Constant
古いコメントを表示
Matlab includes a constant as a default ..... is it possible to do a stepwise regression in Matlab without a constant? Thanks
回答 (1 件)
Oleg Komarov
2011 年 5 月 31 日
An example:
load hald
stepwise(ingredients,heat)
1 件のコメント
Lev Prislan
2016 年 8 月 24 日
It does say: "stepwise automatically includes a constant term in all models. Do not enter a column of 1s directly into X."
カテゴリ
ヘルプ センター および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!