Skip to content

exact p-value for Spearman, with ties

2 messages · Paul H Artes, Peter Dalgaard

#
Dear R,

I'm looking for exact p-values for Spearman's rank correlation in the
presence of ties. This is available in StatXact and SPSS, but I
haven't yet found it in R. Has anyone implemented this?
#
Paul H Artes <paul.h.artes at gmail.com> writes:
The algorithm used by those two (it's the same one -- SPSS licences
it) does not seem to be openly available. 

It should be fairly easy to simulate the distribution of rho.

Another matter is that we really ought to at least get the normal
approximation right in the presence of ties.