Kendall's coefficient of concordance W (Gibbons Ch 12.5)
Source:R/cncrd.R
morie_concordance_incomplete.RdSupports incomplete rankings via NA entries. For complete rankings, W = 12 S / (k^2 (n^3 - n)) where S is the sum of squared deviations of object rank-sums from their mean. Significance via chi-square approximation k(n-1) W ~ chi-square with n-1 df.
Examples
morie_concordance_incomplete(x = rnorm(50))
#> $statistic
#> [1] NA
#>
#> $p_value
#> [1] NA
#>
#> $df
#> [1] 49
#>
#> $chi2
#> [1] NA
#>
#> $n
#> [1] 50
#>
#> $k
#> [1] 1
#>
#> $method
#> [1] "Kendall's coefficient of concordance W"
#>