Clear Filters
Clear Filters

What significant test `corr` use internally?

3 views (last 30 days)
Just want to know what significant test the function use to obtain the p-value.

Answers (1)

Walter Roberson
Walter Roberson on 11 Nov 2023
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 Comments
Weikang Qiu
Weikang Qiu on 12 Nov 2023
Oh sorry, I just wonder matlab assume what distribution does the correlation coefficient follow.
Walter Roberson
Walter Roberson on 12 Nov 2023
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

Sign in to comment.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!