Clear Filters
Clear Filters

multiple correlation

33 views (last 30 days)
Mate 2u
Mate 2u on 7 May 2012
Edited: Walter Roberson on 12 Jun 2022
Hi does anybody know how I can implement multiple correlation in MATLAB?

Accepted Answer

Tom Lane
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.

More Answers (1)

George Papazafeiropoulos
George Papazafeiropoulos on 12 Jun 2022
Check the function regress()

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!