Percentiles

This section discusses percentiles, which are useful for describing relative standings of observations in a dataset.

Third Definition

Unless otherwise specified, when we refer to "percentile," we will be referring to this third definition of percentiles. Let's begin with an example. Consider the 25th percentile for the 8 numbers in Table 1. Notice the numbers are given ranks ranging from \mathrm{1} for the lowest number to \mathrm{8} for the highest number.

Table 1. Test Scores.
Number Rank

3

5

7

8

9

11

13

15

1

2

3

4

5

6

7

8


The first step is to compute the rank (\mathrm{R}) of the 25th percentile. This is done using the following formula:

\mathrm{R}=\mathrm{P} / 100 \mathrm{x}(\mathrm{N}+1)

where \mathrm{P} is the desired percentile (\mathrm{25} in this case) and \mathrm{N} is the number of numbers (\mathrm{8} in this case). Therefore,

\mathrm{R=25 / 100} \times \mathrm{(8+1)=9 / 4=2.25}

If \mathrm{R} is an integer, the \mathrm{Pth} percentile is the number with rank \mathrm{R}. When \mathrm{R} is not an integer, we compute the \mathrm{Pth} percentile by interpolation as follows:

1. Define \mathrm{IR} as the integer portion of \mathrm{R} (the number to the left of the decimal point). For this example, \mathrm{IR=2}.

2. Define \mathrm{FR} as the fractional portion of \mathrm{R}. For this example, \mathrm{FR}=0.25.

3. Find the scores with Rank \mathrm{IR} and with Rank \mathrm{IR \, + \, 1}. For this example, this means the score with Rank 2 and the score with Rank 3. The scores are \mathrm{5} and \mathrm{7}.

4. Interpolate by multiplying the difference between the scores by \mathrm{F}_{\mathrm{R}} and add the result to the lower score. For these data, this is (0.25)(7-5)+5=5.5.

Therefore, the 25th percentile is \mathrm{5.5}. If we had used the first definition (the smallest score greater than 25% of the scores), the 25th percentile would have been \mathrm{7}. If we had used the second definition (the smallest score greater than or equal to 25% of the scores), the 25th percentile would have been \mathrm{5}.

For a second example, consider the 20 quiz scores shown in Table 2.

Table 2. 20 Quiz Scores.
Score Rank

4

4

5

5

5

5

6

6

6

7

7

7

8

8

9

9

9

10

10

10

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20


We will compute the 25th and the 85th percentiles. For the 25th,

\mathrm{R}=25 / 100 \mathrm{x}(20+1)=21 / 4=5.25

\mathrm{IR}=5 and \mathrm{FR}=0.25

Since the score with a rank of \mathrm{IR} (which is \mathrm{5}) and the score with a rank of \mathrm{IR+1} (which is \mathrm{6} are both equal to \mathrm{5}, the 25th percentile is 5. In terms of the formula:

\mathrm{25th \, percentile =(.25) x (5-5)+5=5 }

For the 85th percentile,

\mathrm{R}=85 / 100 \times(20+1)=17.85 .

\mathrm{IR}=17 and \mathrm{FR}=0.85

Caution: \mathrm{FR}  does not generally equal the percentile to be computed as it does here.

The score with a rank of \mathrm{17} is \mathrm{9} and the score with a rank of \mathrm{18} is \mathrm{10}. Therefore, the 85th percentile is:

\mathrm{(0.85)(10-9) \, + \, 9 \, = \, 9.85}

Consider the 50th percentile of the numbers \mathrm{2, \, 3, \, 5, \, 9}.

\mathrm{R}=50 / 100 \times(4+1)=2.5

\mathrm{IR}=2 and \mathrm{FR}=0.5

The score with a rank of IR is \mathrm{3} and the score with a rank of \mathrm{IR + 1} is \mathrm{5}. Therefore, the 50th percentile is:

\mathrm{(0.5)(5 - 3) + 3 = 4}.

Finally, consider the 50th percentile of the numbers \mathrm{2,  \, 3,  \, 5,  \, 9, \, 11}.

\mathrm{R}=50 / 100 \times(5+1)=3

\mathrm{IR}=3 and \mathrm{FR}=0

Whenever \mathrm{FR \, = \, 0}, you simply find the number with rank \mathrm{IR}. In this case, the third number is equal to \mathrm{5}, so the 50th percentile is \mathrm{5}. You will also get the right answer if you apply the general formula:

\mathrm{50th \, percentile \, = \, (0.00) \, (9 \, - \, 5) \, + \, 5 \, = \, 5}.