Descriptive StatisticsTopic #4 of 33

Percentiles and Quartiles

Dividing data into equal parts: quartiles, percentiles, and their applications in data analysis.

Overview

Percentiles and quartiles describe the position of a value within a dataset, telling us what percentage of data falls below that value.

Definitions

TermDefinitionNotation
PercentileValue below which a given % fallsPkP_k
QuartileDivides data into 4 equal partsQ1,Q2,Q3Q_1, Q_2, Q_3
DecileDivides data into 10 equal partsD1,,D9D_1, \ldots, D_9

Percentiles

Definition

Percentile rank of x=Number of values below xTotal values×100\text{Percentile rank of } x = \frac{\text{Number of values below } x}{\text{Total values}} \times 100

Key Percentiles

PercentileAlso Known AsMeaning
P25P_{25}Q1Q_1, First quartile25% below
P50P_{50}Q2Q_2, Median50% below
P75P_{75}Q3Q_3, Third quartile75% below
P10P_{10}D1D_1, First decile10% below
P90P_{90}D9D_9, Ninth decile90% below

Percentile Calculation

Locator Formula

For the pp-th percentile:

L=p100(n+1)L = \frac{p}{100}(n + 1)

Interpolation

If L=k+dL = k + d (where kk is integer, dd is decimal):

Pp=xk+d(xk+1xk)P_p = x_k + d(x_{k+1} - x_k)

Example

Data (sorted): 12, 15, 18, 22, 25, 28, 32, 35 (n=8n = 8)

Find P30P_{30}:

L=30100(8+1)=2.7L = \frac{30}{100}(8 + 1) = 2.7 P30=x2+0.7(x3x2)=15+0.7(1815)=15+2.1=17.1P_{30} = x_2 + 0.7(x_3 - x_2) = 15 + 0.7(18 - 15) = 15 + 2.1 = 17.1

Quartiles

Definitions

QuartilePercentileDescription
Q1Q_1P25P_{25}First quartile
Q2Q_2P50P_{50}Second quartile (median)
Q3Q_3P75P_{75}Third quartile

Method 1: Median of Halves

  1. Find the median (Q2Q_2)
  2. Q1Q_1 = median of values below Q2Q_2
  3. Q3Q_3 = median of values above Q2Q_2

Method 2: Position Formula

Q1 position=n+14Q_1 \text{ position} = \frac{n+1}{4} Q2 position=2(n+1)4=n+12Q_2 \text{ position} = \frac{2(n+1)}{4} = \frac{n+1}{2} Q3 position=3(n+1)4Q_3 \text{ position} = \frac{3(n+1)}{4}

Calculating Quartiles Example

Data: 3, 7, 8, 12, 13, 14, 18, 21, 23, 27 (n=10n = 10)

Q2=median=13+142=13.5Q_2 = \text{median} = \frac{13 + 14}{2} = 13.5

Lower half: 3, 7, 8, 12, 13

Q1=8Q_1 = 8

Upper half: 14, 18, 21, 23, 27

Q3=21Q_3 = 21

Z-Score and Percentiles

For normal distributions:

Z-ScorePercentile
-30.13
-22.28
-115.87
050
184.13
297.72
399.87

Converting z-score to percentile for normal distribution:

Percentile=Φ(z)×100\text{Percentile} = \Phi(z) \times 100

Where Φ(z)\Phi(z) is the standard normal CDF.

Applications

Use CasePercentile/Quartile
Standardized testsSAT, GRE percentile ranks
Growth chartsHeight/weight percentiles
Income distributionHousehold income quartiles
Academic rankingsClass rank percentile

Interpreting Percentiles

"A score at the 90th percentile" means:

  • 90% of scores are at or below this value
  • 10% of scores are above this value
  • NOT the same as "scoring 90%"

Comparing Methods

Different software may use different methods:

MethodDescription
InclusiveUses all data for each half
ExclusiveExcludes median from halves
Linear interpolationInterpolates between values

Always specify the method when precision matters!