# Finding Percentiles - How am I wrong?

So the problem goes:

There are 40 students and their test scores are:

30 35 43 44 47 48 54 55 56 57 59 62 63 65 66 68 69 69 71 72 72 73 74 76 77 77 78 79 80 81 81 82 83 85 89 92 93 94 97 98

Find P85.

What I did:

Using the formula L=(K/100)n... I did L=(85/100) => .85(40) = 34. The 34th value is 85. But the answer is actually 87?? (Odd.. there isn't even 87 in the values :))

There are several ways to calculate percentiles. You used the "Nearest rank" method, in which case the answer is indeed 85. There is another way to calculate percentiles, "Linear interpolation between closest ranks method": $$p_n=\frac{100}{N}(n-\frac{1}{2})$$

Where:

$P_n$ is the percentile (85 in the current problem)

$N$ is the number of observations (40)

$n$ is the $n^{th}$ observation you need to take (unknown).

You have to solve $\frac{100}{40}(n-\frac{1}{2})=85$, and you get $n=34.5$. This means that you have to take an average between the 34th and 35th observations. In your sample, the 34th obs. is 85 and the 35th obs. is 89, and their average is 87.