Percentiles
百分位数
What is a percentile?
The p-th percentile has p percent of the data at or below it; the median is the fiftieth.
Sign in to read the whole lesson, with 1 more worked example, 9 exercises
Sign in / Sign upMastery goals
- Can state what the p-th percentile of a data set means, and name the 25th, 50th and 75th percentiles as the quartiles, the 50th being the median
- Can find the p-th percentile of n data by sorting them and computing i = n × p%: take the next whole-numbered value if i is not a whole number, or the mean of the i-th and (i + 1)-th values if it is
- Can estimate a percentile from a relative frequency histogram, assuming the data are spread evenly within each class
9.2.2 Estimating percentiles of a population
Earlier we described the sample data on households' average monthly water use with a relative frequency table and a relative frequency histogram. By looking at and analysing them, we found some patterns in the relative frequency distribution of the sample, used them to infer the distribution of water use over all households in the city, and reached conclusions such as "most households' average monthly water use is concentrated in a fairly low region". The next question is: how can this information serve the government's decisions? Let us discuss it.
Problem 2 If the city government wants of households' water bills to be unaffected, can you use the data on the households in 9.2.1 to suggest a standard for households' average monthly water use?
First make the problem precise: setting the standard as the government asks means finding a number such that, among all households in the city, have average monthly water use at most and have more than . Below we use the sample data to estimate .
Sort the sample values from smallest to largest; the th and st values are and . Any number in the interval splits the sample data into two parts as required. Usually we take the mean of these two numbers, , and call it the th percentile of the data, or the quantile.
From the th percentile of the sample, we can estimate the th percentile of the population to be about . Because the pattern of the sample's values differs somewhat from that of the population, and in a decision problem it is enough for the threshold to be roughly the th percentile, for practical convenience we could suggest that the government set the standard at t a month, or t a year.
In general, the th percentile of a set of data is a value such that at least of the data are less than or equal to it, and at least of the data are greater than or equal to it.
The th percentile of data values can be found in these steps:
Step : arrange the raw data from smallest to largest.
Step : compute .
Step : if is not a whole number and is the next whole number above , the th percentile is the th value; if is a whole number, the th percentile is the mean of the th and the th values.
For a given set of data there may be more than one value satisfying the definition of the th percentile. There are several ways to compute percentiles; here we use a fairly simple one.
The median we met in junior school is the same as the th percentile. In practice, besides the median, the th and th percentiles are also often used. These three percentiles split data sorted from smallest to largest into four equal parts, so they are called quartiles. The th percentile is also called the first quartile or lower quartile, and the th percentile the third quartile or upper quartile. Percentiles such as the st, th, th and th are also often used in statistics.
Example 2
Using the sample data of the girls in Problem 3 of 9.1.2, estimate the th, th and th percentiles of the heights of the Year 10 girls at Shuren High School.
Solution: Sorting the girls' sample data from smallest to largest gives
```
148.0 149.0 154.0 154.0 155.0 155.0 155.5 157.0 157.0
158.0 158.0 159.0 161.0 161.0 162.0 162.5 162.5 163.0
163.0 164.0 164.0 164.0 165.0 170.0 171.0 172.0 172.0
```
Since , and , the th, th and th percentiles of the sample are the th, th and st values: , and . So we estimate the th, th and th percentiles of the heights of all Year 10 girls at the school to be about , and .
The girls' sample is fairly small, so the estimate of the population here may have a fairly large error.
Related points
All points in this topicCite this page: Percentiles · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP004440