Compute Kendall's W, also known as coefficient of concordance among observed rankings and those predicted by the Plackett-Luce model.
kendallW(x, ...)
# S3 method for default
kendallW(x, y, ...)
# S3 method for pltree
kendallW(x, newdata = NULL, ...)
an object of class pltree
additional arguments passed to methods
an object of class pltree
data for predictions
Kendall's W (coefficient of concordance)
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)
Other goodness-of-fit functions:
kendallTau()
,
pseudoR2()