[R] spearman correction

Branimir K. Hackenberger hack at ffos.hr
Wed Dec 1 09:34:44 CET 2004


Dear All !

Who knows which correction (by tied numbers) is used by Spearman-test in
function cor.test (e.g. cor.test(a,b,method="spearman"))?

a	b
12	135
13	153
15	144
17	180
18	162
19	198
20	234
21	225
25	270
26	261

rs(corrected)=rs(uncorrected)= 0.951515152

a	b
12	135
13	153
15	144
17	180
18	180
19	180
20	180
21	225
21	270
21	261

rs(corrected)= 0.943208012
rs(uncorrected)= 0.945454545


Thanks!

With best regards

Branimir K. Hackenberger




More information about the R-help mailing list