Hi does anybody know how I can implement multiple correlation in MATLAB?

1 件のコメント

Walter Roberson
Walter Roberson 2012 年 5 月 7 日
編集済み: Walter Roberson 2022 年 6 月 12 日

サインインしてコメントする。

 採用された回答

Tom Lane
Tom Lane 2012 年 5 月 8 日

0 投票

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.

その他の回答 (1 件)

George Papazafeiropoulos
George Papazafeiropoulos 2022 年 6 月 12 日

0 投票

Check the function regress()

カテゴリ

ヘルプ センター および File ExchangeDescriptive Statistics についてさらに検索

質問済み:

2012 年 5 月 7 日

編集済み:

2022 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by