Dear jean claude I have two variables in the attached sheet Year and rainfall I should consider them as X and Y? and RHO here represent the value of r?
How to calculate the value of correlation coefficient r using Spearman correlation coefficient test?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad shahid
am 6 Dez. 2017
Beantwortet: Muhammad shahid
am 7 Dez. 2017
HI, For attached rainfall data sheet A.Xls I want to calculate the value of correlation coefficient "r" by using Spearman correlation coefficient test. Can some one help me to calculate it in mat-lab. Moreover kindly guide me how to interpret the value of r for strong, week and negligible correlation.
2 Kommentare
jean claude
am 6 Dez. 2017
yes that's your variables x and y , then rho is your coefficient r you're welcome!
Akzeptierte Antwort
jean claude
am 6 Dez. 2017
if you have the statistics toolbox you can use
[RHO,PVAL] = corr(x,y,'type','Spearman')
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Hypothesis Tests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!