image thumbnail

Spearman’s Rho test

version 1.0.0.0 (2.08 KB) by Simone Fatichi
Spearman’s Rho non-parametric trend test

1.1K Downloads

Updated 09 Oct 2009

View License

The code performs Spearman's rho test. It tests the null hypothesis of trend absence in the vector V, against the alternative of trend.
The result of the test is returned in Td = 1 indicates positive trend Td = -1 indicates negative trends, i.e., a rejection of the null hypothesis at the alpha significance level. Td = 0 indicates a failure to reject the null hypothesis at the alpha significance level.

Cite As

Simone Fatichi (2021). Spearman’s Rho test (https://www.mathworks.com/matlabcentral/fileexchange/25534-spearman-s-rho-test), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!