What significant test `corr` use internally?

3 次查看(过去 30 天)
Just want to know what significant test the function use to obtain the p-value.

回答(1 个)

Walter Roberson
Walter Roberson 2023-11-11
corr() does not itself use any significance test. It returns the p values -- leaving you to make your own significance tests according to your needs.
  2 个评论
Weikang Qiu
Weikang Qiu 2023-11-12
Oh sorry, I just wonder matlab assume what distribution does the correlation coefficient follow.
Walter Roberson
Walter Roberson 2023-11-12
TypeType of correlation
'Pearson' (default) | 'Kendall' | 'Spearman'
Type of correlation, specified as the comma-separated pair consisting of 'Type' and one of these values.
Value Description

请先登录,再进行评论。

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by