What significant test `corr` use internally?
3 views (last 30 days)
Show older comments
Just want to know what significant test the function use to obtain the p-value.
0 Comments
Answers (1)
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
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!