Percentile
From Includipedia, the inclusionist encyclopedia
A percentile is the value of a variable below which a certain percent of observations fall. So the 20th percentile is the value (or score) below which 20 percent of the observations may be found. The term percentile and the related term percentile rank are often used in descriptive statistics as well as in the reporting of scores from norm-referenced tests.
The 25th percentile is also known as the first quartile; the 50th percentile as the median.
Contents |
Definition
There is no standard definition of percentile [1] [2] , however all definitions yield similar results when the number of observations is large. One definition, usually given in unsophisticated texts, is that the <math>p</math>-th percentile of <math>N</math> ordered values is obtained by first calculating the rank <math> n = \frac{N}{100}\,p+\frac{1}{2}</math>, rounding to the nearest integer, and taking the value that corresponds to that rank.
An alternative method, used in many applications, is to use linear interpolation between the two nearest ranks instead of rounding. Specifically, if we have <math>N</math> values <math>v_1</math>, <math> v_2</math>, <math>v_3</math>,...,<math>v_N</math> , ranked from least to greatest, define the percentile corresponding to the <math>n</math>-th value as <math>p_n=\frac{100}{N}(n-\frac{1}{2}).</math> In this way, for example, if <math>N=5</math> the percentile corresponding to the third value is <math>p_3=\frac{100}{5}(3-\frac{1}{2})=50.</math> Suppose we now want to calculate the value <math> v </math> corresponding to a percentile <math>p</math>. If <math>p<p_1</math> or <math>p>p_N</math>, we take <math>v=v_1</math> or <math>v=v_N</math> respectively. Otherwise, we find an integer <math>k</math> such that <math>p_k\le p \le p_{k+1}</math> , and take <math>v=v_k+\frac{N}{100}(p-p_k)(v_{k+1}-v_k).</math> [3] When <math>p=50</math>, the formula gives the median. When <math>N</math> is even and <math>p=25</math>, the formula gives the median of the first <math>\frac{N}{2}</math> values.
Linked with the percentile function, there is also a weighted percentile, where the percentage in the total weight is counted instead of the total number. In most spreadsheet applications there is no standard function for a weighted percentile. One method for weighted percentile extends the method described above. Suppose we have positive weights <math>w_1</math>, <math> w_2</math>, <math>w_3</math>,...,<math>w_N</math> , associated respectively with our <math>N</math> sample values. Let <math>S_n=\sum_{k=1}^{n}w_k</math> be the <math>n</math>-th partial sum of these weights. Then the formulas above are generalized by taking <math>p_n=\frac{100}{S_N}(S_n-\frac{w_n}{2})</math> and <math>v=v_k+\frac{p-p_k}{p_{k+1}-p_k}(v_{k+1}-v_k).</math>
Alternative methods
Many software packages, such as Excel, use the following method to estimate the value, <math>v_p</math>, of the <math>p^{th}</math> percentile of an ascending ordered dataset containing <math>{N}</math> elements with values <math>v_1, v_2, ... ,v_N</math>;
<math> n = \frac{p}{100}\,({N}-1)+1</math>
<math>n</math> is then split into its integer component, <math>k</math> and decimal component, <math>d</math>, such that <math>n = k + d</math>
If <math>k = 0</math>, then the value for that percentile, <math>v_p</math>, is the first member of the ordered dataset, <math>v_1</math>.
If <math>k = N</math>, then the value for that percentile, <math>v_p</math>, is the <math>N^{th}</math> member of the ordered dataset <math>v_N</math>.
Else <math>(0< k < N)</math> then <math>v_p=v_k+d(v_{k+1}-v_k).</math>
An alternative method, is as above, with <math> n </math> calculated as <math> n = \frac{p}{100}\,({N}+1)</math>
Relation between percentile, decile and quartile
- P25 = Q1
- P50 = D5 = Q2 = median value
- P75 = Q3
- P100 = D10 = Q4
- P10 = D1
- P20 = D2
- P30 = D3
- P40 = D4
- P60 = D6
- P70 = D7
- P80 = D8
- P90 = D9
Note: One quartile is equivalent to 25 percentile while 1 decile is equal to 10 percentile.
Examples
When ISPs bill "Burstable" Internet bandwidth, the 95th or 98th percentile usually cuts off the top 5% or 2% of bandwidth peaks in each month, and then bills at the nearest rate. In this way infrequent peaks are ignored, and the customer is charged in a fairer way.
Physicians will often use infant and children's weight and height percentile as a gauge of relative health.
See also
References
http://www.itl.nist.gov/div898/handbook/prc/section2/prc252.htm
- ^ Lane, David. Percentiles. Retrieved on 2007-09-15.
- ^ Pottel, Hans. Statistical flaws in Excel. Retrieved on 2006-03-22.
- ^ Matlab Statistics Toolbox - Percentiles. Retrieved on 2006-09-15.
External links
- Free Online Software (Calculator) computes Percentiles for any dataset according to 8 different percentile definitions.da:Percentil
Perzentil fr:Centile it:Percentile nl:Percentiel pl:Percentyl pt:Percentil ru:Процентиль sv:Percentil zh:百分位数 ur:صدک

