I was wondering which method is used in the regress() function. Its not stepwise as there is another dedicated function for that. So is it hierarchical? forced-entry?

 Réponse acceptée

the cyclist
the cyclist le 14 Fév 2012

0 votes

If you type "edit regress", you can see the references for the algorithms, including annotations of the particular equations being used. I am not an expert, but I believe it is "forced entry", because all explanatory variables are used, with no implied ordering.

1 commentaire

Rodolphe
Rodolphe le 14 Fév 2012
Thanks a lot, mr cyclist :)
I had a minor second issue you may be able to answer about the regress function if you dont mind.
The matrix structure of the response matrix (n-by-1) does not permit to do several multiple regression at once like its the case for other calculation like correlations.
Is there s simple way to do that without using loops or the mvregress function that gives me memory issue due to the obligatory creation of an eye matrix in the model?

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by