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 for the lowest number to
for the highest number.
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 () of the 25th percentile. This is done using the following formula:
where is the desired percentile (
in this case) and
is the number of numbers (
in this case). Therefore,
If is an integer, the
percentile is the number with rank
. When
is not an integer, we compute the
percentile by interpolation as follows:
1. Define as the integer portion of
(the number to the left of the decimal point). For this example,
.
2. Define as the fractional portion of
. For this example,
.
3. Find the scores with Rank and with Rank
. For this example, this means the score with Rank 2 and the score with Rank 3. The scores are
and
.
4. Interpolate by multiplying the difference between the scores by and add the result to the lower score. For these data, this is
.
Therefore, the 25th percentile is . If we had used the first definition (the smallest score greater than 25% of the scores), the 25th percentile would have been
. 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
.
For a second example, consider the 20 quiz scores shown in Table 2.
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,
Since the score with a rank ofFor the 85th percentile,
Caution: does not generally equal the percentile to be computed as it does here.
The score with a rank of is
and the score with a rank of
is
. Therefore, the 85th percentile is:
Consider the 50th percentile of the numbers .
The score with a rank of IR is and the score with a rank of
is
. Therefore, the 50th percentile is:
Finally, consider the 50th percentile of the numbers .
Whenever , you simply find the number with rank
. In this case, the third number is equal to
, so the 50th percentile is
. You will also get the right answer if you apply the general formula: