Compute Kendall's W, also known as coefficient of concordance among observed rankings and those predicted by the Plackett-Luce model.

kendallW(x, ...)

# Default S3 method
kendallW(x, y, ...)

# S3 method for class 'pltree'
kendallW(x, newdata = NULL, ...)

Arguments

x

an object of class pltree

...

additional arguments passed to methods

y

an object of class pltree

newdata

data for predictions

Value

Kendall's W (coefficient of concordance)

Details

It is as wrapper of the function DescTools::KendallW, adapted to compute the Kendall's W on the observed and predicted rankings.

Kendall's W values range between 0 (no agreement) to 1 (full agreement)

See also

Other goodness-of-fit functions: kendallTau(), pseudoR2()

Author

David Brown and Jacob van Etten