How are Spearman p values calculated?
Mostra commenti meno recenti
The p-values from the corr function (Spearman), how are computed? Is there any refernce paper I could access?
Risposte (1)
Star Strider
il 17 Mag 2014
1 voto
Wikipedia has a brief but thorough article that includes a section on Determining Significance of the Spearman Rank Correlation.
2 Commenti
Nuchto
il 17 Mag 2014
Star Strider
il 17 Mag 2014
Modificato: the cyclist
il 1 Mar 2021
Quoting:
- corr computes p-values for Pearson's correlation using a Student's t distribution for a transformation of the correlation. This correlation is exact when X and Y are normal. corr computes p-values for Kendall's tau and Spearman's rho using either the exact permutation distributions (for small sample sizes), or large-sample approximations.
- corr computes p-values for the two-tailed test by doubling the more significant of the two one-tailed p-values.
Is that what you’re looking for?
Categorie
Scopri di più su Random Number Generation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!