Skip to main content
Statistics LibreTexts

13.3: Ranking Data

  • Page ID
    24082
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The last few sections in this chapter require one to rank a data set. To rank a data set, you first must arrange the data from smallest to largest. The smallest value gets a rank of 1, the next smallest gets a rank of 2, etc. If there are any values that tie, then each of the tied values gets the average of the corresponding ranks.

    Rank the following random sample: \(8, -4, 1, -3, 5, 2, -3, 0, 5, 3, 5.\)

    Solution

    First, sort the data from smallest to largest: \(-4, -3, -3, 0, 1, 2, 3, 5, 5, 5, 8\)

    Next, rank the data. The \(-4\) gets a rank of 1. There is a tie between the next two values of \(-3\). They would have received the ranks of 2 and 3, but we do not want one of the values to be ranked higher than the other so we give both \(-3\)’s a rank of \(\frac{2+3}{2} = 2.5\). Then the next value of \(0\) gets a rank of 4 (we already used the 2nd and 3rd positions). The next set of ties for the three \(5\)’s occurs for the rank of 8th, 9th and 10th place. The average of these ranks is \(\frac{8+9+10}{3} = 9\). The following is a table of the sorted data with the corresponding ranks.

    Data \(-4\) \(-3\) \(-3\) \(0\) \(1\) \(2\) \(3\) \(5\) \(5\) \(5\) \(8\) Rank 1 2.5 2.5 4 5 6 7 9 9 9 11

    If there is no tie for the last data point, then your last rank will be the same as your sample size.

    What is the rank for the number 15 in the following sample: \(10, 25, 15, 8, 20, 15, 10, 9, 8, 22\)?

    Solution

    Order the data from smallest to largest: \(8, 8, 9, 10, 10, 15, 15, 20, 22, 25\). Next, rank the data. The two \(8\)’s tie for first and second place, so each gets a rank of \(\frac{1+2}{2} = 1.5\). The \(9\) is in the third spot so it gets a rank of 3. The two \(10\)’s tie for fourth and fifth place so each gets a rank of \(\frac{4 + 5}{2} = 4.5\). The two \(15\)’s tie for sixth and seventh place so each gets a rank of \(\frac{6+7}{2} = 6.5\). The next three numbers get the ranks of 8, 9 and 10.

    The answer, then, is 6.5, the rank of the number \(15\).

    The Tevis Cup Ride is a 24-hour, 100-mile horse race over the Sierra Nevada mountains from Lake Tahoe to Auburn in a single day. The top 10 completion times for 2019 are shown below. Rank the completion times.

    Name Completion Time Sanoma Blakeley \(09\text{:}27 \text{ PM}\) Jeremy Reynolds \(09\text{:}27 \text{ PM}\) Haley Moquin \(09\text{:}36 \text{ PM}\) Richard George \(09\text{:}37 \text{ PM}\) Suzanne Huff \(09\text{:}54 \text{ PM}\) Karen Donley \(09\text{:}54 \text{ PM}\) Nicki Meuten \(10\text{:}06 \text{ PM}\) Gwen Hall \(10\text{:}20 \text{ PM}\) Lindsay Fisher \(10\text{:}28 \text{ PM}\) Suzanne Hayes \(10\text{:}29 \text{ PM}\)
    Solution

    The data are already ordered. There are two ties at \(9\text{:}27\) and \(9\text{:}54\).

    Time \(9\text{:}27\) \(9\text{:}27\) \(9\text{:}36\) \(9\text{:}37\) \(9\text{:}54\) \(9\text{:}54\) \(10\text{:}06\) \(10\text{:}20\) \(10\text{:}28\) \(10\text{:}29\)
    Rank 1.5 1.5 3 4 5.5 5.5 7 8 9 10

    This page titled 13.3: Ranking Data is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Rachel Webb via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?