Good afternoon,

I have a trouble with the output obtained from a correlation test performed, using Spearman's correlation coefficient, with R Software.

The output obtained is the follow:

cor.test(HCC, HS, method=c("spearman"))

Spearman's rank correlation rho

data: HCC and HS

S = 1461.8, p-value = 0.8271

alternative hypothesis: true rho is not equal to 0

sample estimates:

rho

0.05074825

Warning message:

In cor.test.default(HCC, HS, method = c("spearman")) :

Cannot compute exact p-value with ties

The problem is related to the warning message in which is specified that it is impossible to compute the exact p-value. Is there a further command which I can add to the correlation test's script in order to solve it? I tried with the Bonferroni's correction but it does't work.

Many thanks to that/those one who will reply.

More Marcello Franchini's questions See All
Similar questions and discussions