$R$ gives "NA" for the p-value when I try to run Kendall's test with an "exact p-value" flag set on a larger data set (n=170 seems to be the cutoff). Is this just a computation problem or something deeper? Spearman's test with an exact p-value flag set returns a p-value.
cor.test(sample(1:200),sample(1:200),method='kendall',exact=TRUE)
Kendall's rank correlation tau
data: sample(1:200) and sample(1:200)
T = 10905, p-value = NA
alternative hypothesis: true tau is not equal to 0
sample estimates:
tau
0.0959799
```
set.seed(2022);n <- 170;A <- sample(1:n);B <- sample(1:n)
thencor.test(A,B,method='kendall',exact=TRUE)
givesp-value=0.08651
whilecor.test(A,B,method='kendall',exact=FALSE)
givesp-value=0.08626
$\endgroup$