rnkres
Which pairs a noisy ranking orders
rnkres(est, hw)People (or areas, or courts) ranked by estimated scores are ordered
correctly whatever the noise only when their estimates differ by more
than their two interval half-widths together: below that, admissible
errors can reverse them, above it none can. rnkres() says which pairs
that holds for, and the share it fails for; the resolution of the
ranking is twice the largest half-width. A league table whose intervals
are wide orders few of its pairs (Goldstein and Spiegelhalter 1996).
See proof("rnkres").
Parameters
Section titled “Parameters”estThe estimates: finite numbers, named or not, at least two.
hwThe half-width of each estimate’s interval: one number from 0, or one per estimate.
Returns
Section titled “Returns”A list: id, a logical matrix, TRUE where the pair’s order is
identified (NA on the diagonal), with the estimates’ names; npair,
nunid (the pairs not identified), share (their share) and res.
References
Section titled “References”Goldstein, H. and Spiegelhalter, D. J. (1996). League tables and their limitations: statistical issues in comparisons of institutional performance. Journal of the Royal Statistical Society, Series A, 159(3), 385-443. doi:10.2307/2983325
Examples
Section titled “Examples”rnkres(c(a = 0.2, b = 0.35, c = 0.8), hw = c(0.1, 0.1, 0.05))Also in the R reference, with the method and its source.