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.
引用格式
Simone Fatichi (2025). Spearman’s Rho test (https://www.mathworks.com/matlabcentral/fileexchange/25534-spearman-s-rho-test), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Hypothesis Tests 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |