Method used in regress function?

5 visualizzazioni (ultimi 30 giorni)
Rodolphe
Rodolphe il 14 Feb 2012
Modificato: a il 12 Ott 2013
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?

Risposta accettata

the cyclist
the cyclist il 14 Feb 2012
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 Commento
Rodolphe
Rodolphe il 14 Feb 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?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by