What significant test `corr` use internally?
Show older comments
Just want to know what significant test the function use to obtain the p-value.
Answers (1)
Walter Roberson
on 11 Nov 2023
0 votes
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
on 12 Nov 2023
Walter Roberson
on 12 Nov 2023
Type — Type 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
- 'Pearson'Pearson's Linear Correlation Coefficient
- 'Kendall'Kendall's Tau Coefficient
- 'Spearman'Spearman's Rho
Categories
Find more on Descriptive Statistics and Insights 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!