TiedRank Command

From GeoGebra Manual
Revision as of 13:18, 11 August 2015 by Markus.winkler (talk | contribs)
Jump to: navigation, search


TiedRank[ <List> ]
Returns a list, whose i-th element is the rank of i-th element of the given list L (rank of element is its position in Sort[L]). If there are more equal elements in L which occupy positions from k to l in Sort[L], the mean of the ranks from k to l are associated with these elements.
Examples:
  • TiedRank[{4, 1, 2, 3, 4, 2}] returns {5.5, 1, 2.5, 4, 5.5, 2.5}.
  • TiedRank[{3, 2, 2, 1}] returns {4, 2.5, 2.5, 1}.
Note: Also see OrdinalRank Command
© 2024 International GeoGebra Institute