Finds the rank order of each element in the x input and returns the order of each element in the rank order x output. For all tied rank values, the mean rank replaces the rank returned.

Rank transformations often are used to test hypotheses on data when an underlying distribution is unknown.


icon

Inputs/Outputs

  • c1ddbl.png x

    x is the data to rank.

  • i1ddbl.png rank order x

    rank order x is the rank order of each element in x.

  • idbl.png tsum - measure of ties

    tsum - measure of ties is the sum of (tm3-tm), where tm is the number of ties in the mth group of ties.