multiple correlation

26 vues (au cours des 30 derniers jours)
Mate 2u
Mate 2u le 7 Mai 2012
Hi does anybody know how I can implement multiple correlation in MATLAB?
  1 commentaire
Walter Roberson
Walter Roberson le 7 Mai 2012
Modifié(e) : Walter Roberson le 12 Juin 2022

Connectez-vous pour commenter.

Réponse acceptée

Tom Lane
Tom Lane le 8 Mai 2012
You can get R^2 (multiple correlation) from various Statistics Toolbox routines. If you don't have the toolbox or you need to do it yourself, you could use backslash to carry out a regression, then compare the sum of squared deviations from the mean of both the y variable and the residuals from the regression. Alternatively you could use corrcoef to compute the correlation between the y variable and the fitted values.
My guess is that a book on regression will give you a better explanation than that wikipedia page.

Plus de réponses (1)

George Papazafeiropoulos
George Papazafeiropoulos le 12 Juin 2022
Check the function regress()

Catégories

En savoir plus sur Descriptive Statistics 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!

Translated by