multiple correlation

48 visualizaciones (últimos 30 días)
Mate 2u
Mate 2u el 7 de Mayo de 2012
Editada: Walter Roberson el 12 de Jun. de 2022
Hi does anybody know how I can implement multiple correlation in MATLAB?

Respuesta aceptada

Tom Lane
Tom Lane el 8 de Mayo de 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.

Más respuestas (1)

George Papazafeiropoulos
George Papazafeiropoulos el 12 de Jun. de 2022
Check the function regress()


Más información sobre Time Series en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by