multiple correlation
37 views (last 30 days)
Show older comments
Hi does anybody know how I can implement multiple correlation in MATLAB?
1 Comment
Walter Roberson
on 7 May 2012
Edited: Walter Roberson
on 12 Jun 2022
Is multicompare() any use to you?
Accepted Answer
Tom Lane
on 8 May 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.
0 Comments
More Answers (1)
See Also
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!