Hi guys

just having a bit of trouble with this rank correlation

Rr=∑(Rxi-Rx)*(Ryi-Ry)/(n*sRx*SRy)

say we had x=3,5,7 and corresponding y values are y=10,3,4

so we put the values in ascending order

so we get x=3,5,7 and y= 3,4,10

where the mean and std will be the same as before and we just input these values in the equation with (3,3)(5,4) and (7,10) or do we have to use the ranks instead where 3=1,4=2 and 10=3?

any help would be greatly appreciated

thanks