Difference between Stepwisefit and Stepwiselm ?

回答 (1 件)

the cyclist
the cyclist 2013 年 9 月 11 日
編集済み: the cyclist 2013 年 9 月 11 日

4 投票

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.

カテゴリ

質問済み:

2013 年 9 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by