Difference between Stepwisefit and Stepwiselm ?
Ältere Kommentare anzeigen
1. Create linear regression model using stepwise regression:
2. Stepwise regression
Whats the difference between the two ? Can anybody help ?
Antworten (1)
the cyclist
am 11 Sep. 2013
Bearbeitet: the cyclist
am 11 Sep. 2013
4 Stimmen
My understanding is that Mathworks is moving toward a more object-oriented approach for a lot of the Statistics Toolbox functions.
stepwiselm() is one of the newer functions, and it returns a linear model object, which can then be used with various methods to extract info from the model.
stepwisefit is one of the older function. It directly returns output (e.g. model coefficients) into individual variables.
Algorithmically, I don't expect there is any difference, but I cannot say that definitively.
Kategorien
Mehr zu Model Building and Assessment finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!