Stepwise regression with no Constant
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Matlab includes a constant as a default ..... is it possible to do a stepwise regression in Matlab without a constant? Thanks
0 commentaires
Réponses (1)
Oleg Komarov
le 31 Mai 2011
An example:
load hald
stepwise(ingredients,heat)
1 commentaire
Lev Prislan
le 24 Août 2016
It does say: "stepwise automatically includes a constant term in all models. Do not enter a column of 1s directly into X."
Voir également
Catégories
En savoir plus sur Linear Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!