How are Spearman p values calculated?

조회 수: 6 (최근 30일)
Nuchto
Nuchto 2014년 5월 17일
편집: the cyclist 2021년 3월 1일
The p-values from the corr function (Spearman), how are computed? Is there any refernce paper I could access?

답변 (1개)

Star Strider
Star Strider 2014년 5월 17일
Wikipedia has a brief but thorough article that includes a section on Determining Significance of the Spearman Rank Correlation.
  댓글 수: 2
Nuchto
Nuchto 2014년 5월 17일
Thanks, I know this, only would like to know which of these methods is the one implemented in Matlab for determining the significance.
Star Strider
Star Strider 2014년 5월 17일
편집: the cyclist 2021년 3월 1일
That documentation is at the end of the corr documentation page.
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by