Exhaustive Guide to Quartiles, Deciles, and Percentiles

Foundations of Quartiles, Deciles, and Percentiles

  • Data Partitioning Concepts:

    • Quartiles (QQ): Divide a dataset into four equal parts. Each quartile represents a quarter (25%25\%) of the total data set, analogous to four quarters making one dollar ($1.00\$1.00).

    • Deciles (DD): Divide a dataset into ten equal parts. Deriving from the prefix deci- (meaning one-tenth, as in a decimeter being 110\frac{1}{10} of a meter), it requires 10 deciles to span the entire dataset.

    • Percentiles (PP): Divide a dataset into 100 equal parts. Represents percentages, where 100%100\% encompasses the total dataset.

  • Equivalencies and Key Markers Across Scale Conversions:

    • Q0=P0Q_0 = P_0

    • Q1=P25=D2.5Q_1 = P_{25} = D_{2.5} (First Quartile / 25th25\text{th} Percentile): Represents the median of the lower half of the data.

    • Q2=P50=D5Q_2 = P_{50} = D_5 (Second Quartile / 50th50\text{th} Percentile / Fifth Decile): Represents the overall median of the entire dataset.

    • Q3=P75=D7.5Q_3 = P_{75} = D_{7.5} (Third Quartile / 75th75\text{th} Percentile): Represents the median of the upper half of the data.

    • Q4=P100=D10Q_4 = P_{100} = D_{10}

    • Decile to Percentile Mapping:

      • D1=P10D_1 = P_{10} (10th10\text{th} Percentile)

      • D2=P20D_2 = P_{20} (20th20\text{th} Percentile)

      • D3=P30D_3 = P_{30} (30th30\text{th} Percentile)

      • D4=P40D_4 = P_{40} (40th40\text{th} Percentile)

      • D5=P50D_5 = P_{50} (50th50\text{th} Percentile)

      • D6=P60D_6 = P_{60} (60th60\text{th} Percentile)

      • D7=P70D_7 = P_{70} (70th70\text{th} Percentile)

      • D8=P80D_8 = P_{80} (80th80\text{th} Percentile)

      • D9=P90D_9 = P_{90} (90th90\text{th} Percentile)

      • D10=P100D_{10} = P_{100} (100th100\text{th} Percentile)

  • Interpretation of Percentile Values:

    • A data point at the kthk\text{th} percentile (PkP_k) signifies that k%k\% of the entire dataset is less than or equal to that data point.

    • Conversely, (100−k)%(100 - k)\% of the dataset is greater than or equal to that data point.

    • Real-World Example (SAT Performance): Scoring at the 70th70\text{th} percentile (P70P_{70}) indicates that 70%70\% of test-takers earned a score equal to or lower than your score (you performed better than or equal to 70%70\% of test-takers). Simultaneously, 30%30\% of test-takers achieved a score equal to or higher than your score.

  • Finding Quartiles via Median Division (Odd Sample Size n=11n = 11):

    • Given dataset: 2,3,5,7,8,10,11,13,15,16,192, 3, 5, 7, 8, 10, 11, 13, 15, 16, 19

    • Step 1: Determine Q2Q_2 (Overall Median):

      • Eliminate numbers from both ends to isolate the center element.

      • The middle element (6th6\text{th} item) is 1010.

      • Q2=10Q_2 = 10

    • Step 2: Determine Q1Q_1 (Lower Half Median):

      • Lower half elements: 2,3,5,7,82, 3, 5, 7, 8

      • The middle element of these 5 items is 55.

      • Q1=5Q_1 = 5

    • Step 3: Determine Q3Q_3 (Upper Half Median):

      • Upper half elements: 11,13,15,16,1911, 13, 15, 16, 19

      • The middle element of these 5 items is 1515.

      • Q3=15Q_3 = 15

Calculating Percentile Locations for Discrete Datasets

  • Percentile Location Formula:

    • To calculate the positional index (LL) of the kthk\text{th} percentile (PkP_k) in an ordered set of nn items:         L = \n\n\frac{k}{100} \times (n + 1)

    • Where:

      • LL = Index location of the percentile item from left to right (1-indexed).

      • kk = Target percentile rank (e.g., 2525 for P25P_{25}).

      • nn = Total number of observations in the dataset.

  • Application to Dataset with Odd Sample Size (n=11n = 11):

    • Dataset: 2,3,5,7,8,10,11,13,15,16,192, 3, 5, 7, 8, 10, 11, 13, 15, 16, 19

    • Finding Location of Q1Q_1 (P25P_{25}):

      • L=25100×(11+1)=14×12=3L = \frac{25}{100} \times (11 + 1) = \frac{1}{4} \times 12 = 3

      • The 3rd3\text{rd} item from the left is 55.

      • Q1=5Q_1 = 5

    • Finding Location of Q2Q_2 (P50P_{50}):

      • L=50100×(11+1)=12×12=6L = \frac{50}{100} \times (11 + 1) = \frac{1}{2} \times 12 = 6

      • The 6th6\text{th} item from the left is 1010.

      • Q2=10Q_2 = 10

    • Finding Location of Q3Q_3 (P75P_{75}):

      • L=75100×(11+1)=34×12=9L = \frac{75}{100} \times (11 + 1) = \frac{3}{4} \times 12 = 9

      • The 9th9\text{th} item from the left is 1515.

      • Q3=15Q_3 = 15

Determining Percentile Values and Interpolation Methods

  • Quartile Calculation for Even Sample Size (n=16n = 16):

    • Consider an ordered 16-item dataset split evenly into two 8-item halves.

    • Calculating Q2Q_2:

      • With 8 items on the left and 8 on the right, the median falls between the 8th8\text{th} item (1515) and 9th9\text{th} item (1616).

      • Q2=15+162=15.5Q_2 = \frac{15 + 16}{2} = 15.5

    • Calculating Q1Q_1:

      • Lower half consists of 8 items; split into two groups of 4.

      • Average of 4th4\text{th} item (99) and 5th5\text{th} item (1111).

      • Q1=9+112=10Q_1 = \frac{9 + 11}{2} = 10

    • Calculating Q3Q_3:

      • Upper half consists of 8 items; split into two groups of 4.

      • Average of 12th12\text{th} item (1919) and 13th13\text{th} item (2020).

      • Q3=19+202=19.5Q_3 = \frac{19 + 20}{2} = 19.5

  • Formula-Based Location with Non-Integer Results (n=16n = 16):

    • Location of Q1Q_1 (P25P_{25}):

      • L=25100×(16+1)=14×17=4.25L = \frac{25}{100} \times (16 + 1) = \frac{1}{4} \times 17 = 4.25

      • Because 4.254.25 is a decimal, average the values at position 4 and position 5.

      • 4th value=94\text{th}\text{ value} = 9, 5th value=115\text{th}\text{ value} = 11

      • P25=9+112=10P_{25} = \frac{9 + 11}{2} = 10

    • Location of Q3Q_3 (P75P_{75}):

      • L=75100×(16+1)=34×17=12.75L = \frac{75}{100} \times (16 + 1) = \frac{3}{4} \times 17 = 12.75

      • Because 12.7512.75 lies between 12 and 13, average the values at position 12 and position 13.

      • 12th value=1912\text{th}\text{ value} = 19, 13th value=2013\text{th}\text{ value} = 20

      • P75=19+202=392=19.5P_{75} = \frac{19 + 20}{2} = \frac{39}{2} = 19.5

    • Location and Value of 6th Decile (D6=P60D_6 = P_{60}):

      • L=60100×(16+1)=0.6×17=10.2L = \frac{60}{100} \times (16 + 1) = 0.6 \times 17 = 10.2

      • Position 10.210.2 falls between position 10 (10th value=1610\text{th}\text{ value} = 16) and position 11 (11th value=1711\text{th}\text{ value} = 17).

      • Standard Interpolation (Midpoint Approach): P60=16+172=16.5P_{60} = \frac{16 + 17}{2} = 16.5

      • Intuitive Estimation Note: Since 10.210.2 is extremely close to 1010, the actual value is conceptually closer to 1616. The midpoint between P50P_{50} (15.515.5) and P75P_{75} (19.519.5) is P62.5=17.5P_{62.5} = 17.5. Because 60%60\% lies to the left of 62.5%62.5\%, 1616 is a closer discrete representation. Percentile location formulas gain higher accuracy as sample size nn increases.

Computing Percentile Ranks from Specific Data Values

  • Formula for Percentile Rank of a Given Value:

    • To find the percentile rank (PP) corresponding to a specific value in a dataset:         P=x+0.5yn×100P = \frac{x + 0.5y}{n} \times 100

    • Where:

      • xx = Count of data values strictly less than the target value.

      • yy = Frequency of the target value (number of times it appears in the list).

      • nn = Total number of observations in the dataset.

  • Example 1: Target Value = 12 (n=16n = 16):

    • Given dataset contains 5 numbers less than 12 (x=5x = 5).

    • The value 12 appears once (y=1y = 1).

    • Total observations n=16n = 16

    • Calculation:         P=5+0.5(1)16×100=5.516×100=0.34375×100=34.375%P = \frac{5 + 0.5(1)}{16} \times 100 = \frac{5.5}{16} \times 100 = 0.34375 \times 100 = 34.375\%

    • Rounded to the nearest integer: P34=12P_{34} = 12 (12 represents the 34th34\text{th} percentile).

    • Validation: The midpoint percentile between P25P_{25} and P50P_{50} is 37.5%37.5\%. A rank of 34%34\% for 12 is logical as 12 sits between Q1=10Q_1 = 10 and Q2=15.5Q_2 = 15.5

  • Example 2: Target Value = 16 (n=16n = 16):

    • Dataset contains 8 numbers strictly less than 16 (x=8x = 8).

    • The value 16 appears twice (y=2y = 2).

    • Total observations n=16n = 16

    • Calculation:         P=8+0.5(2)16×100=8+116×100=916×100=56.25%P = \frac{8 + 0.5(2)}{16} \times 100 = \frac{8 + 1}{16} \times 100 = \frac{9}{16} \times 100 = 56.25\%

    • Rounded to the nearest integer: P56=16P_{56} = 16 (16 represents the 56th56\text{th} percentile).

    • Validation: 56%56\% falls logically between P50=15.5P_{50} = 15.5 and P62.5=17.5P_{62.5} = 17.5

Constructing Cumulative Relative Frequency Tables

  • Four-Column Table Structure:

    1. Value: Distinct numerical observations sorted in ascending order.

    2. Frequency (ff): Count of occurrences of each distinct value.

    3. Relative Frequency (RF): Proportion of total data represented by each value, calculated as RF=fn\text{RF} = \frac{f}{n}.

    4. Cumulative Relative Frequency (CRF): Running sum of relative frequencies up to and including the current value row.

  • Complete Dataset Construction Example (n=20n = 20):

    • Dataset counts: Two 2s, four 3s, three 4s, two 6s, one 7, five 9s, two 10s, one 12.

    • Total sample size n=2+4+3+2+1+5+2+1=20n = 2 + 4 + 3 + 2 + 1 + 5 + 2 + 1 = 20

Value

Frequency (ff)

Relative Frequency (RF)

Cumulative Relative Frequency (CRF)

2

2

220=0.10\frac{2}{20} = 0.10

0.100.10

3

4

420=0.20\frac{4}{20} = 0.20

0.10+0.20=0.300.10 + 0.20 = 0.30

4

3

320=0.15\frac{3}{20} = 0.15

0.30+0.15=0.450.30 + 0.15 = 0.45

6

2

220=0.10\frac{2}{20} = 0.10

0.45+0.10=0.550.45 + 0.10 = 0.55

7

1

120=0.05\frac{1}{20} = 0.05

0.55+0.05=0.600.55 + 0.05 = 0.60

9

5

520=0.25\frac{5}{20} = 0.25

0.60+0.25=0.850.60 + 0.25 = 0.85

10

2

220=0.10\frac{2}{20} = 0.10

0.85+0.10=0.950.85 + 0.10 = 0.95

12

1

120=0.05\frac{1}{20} = 0.05

0.95+0.05=1.000.95 + 0.05 = 1.00

Total

20

1.00

—

  • Rules for Reading Deciles/Percentiles from a CRF Table:

    • Rule A (Intermediate Percentile Rank): If the target percentile rank falls between two CRF values in the table, select the value associated with the higher CRF.

    • Rule B (Exact CRF Match): If the target percentile rank corresponds exactly to a CRF value in the table, average the current row value with the next consecutive row value in the table.

  • Decile Computations from Table:

    • Fourth Decile (D4=P40D_4 = P_{40}, Target CRF = 0.400.40):

      • Target 0.400.40 falls between CRF 0.300.30 (Value 3) and CRF 0.450.45 (Value 4).

      • Applying Rule A: Select the higher value row.

      • D4=4D_4 = 4

    • Seventh Decile (D7=P70D_7 = P_{70}, Target CRF = 0.700.70):

      • Target 0.700.70 falls between CRF 0.600.60 (Value 7) and CRF 0.850.85 (Value 9).

      • Applying Rule A: Select the higher value row.

      • D7=9D_7 = 9

    • Third Decile (D3=P30D_3 = P_{30}, Target CRF = 0.300.30):

      • Target 0.300.30 matches the CRF row for Value 3 exactly.

      • Applying Rule B: Average the current row value (3) and the next row value (4).

      • D3=3+42=3.5D_3 = \frac{3 + 4}{2} = 3.5

    • Sixth Decile (D6=P60D_6 = P_{60}, Target CRF = 0.600.60):

      • Target 0.600.60 matches the CRF row for Value 7 exactly.

      • Applying Rule B: Average the current row value (7) and the next row value (9).

      • D6=7+92=8D_6 = \frac{7 + 9}{2} = 8

Empirical Verification of Deciles via Data Grouping

  • Ordered Array Partitioning (n=20n = 20):

    • To verify deciles visually, write out all 20 elements in ascending order and partition them into 10 equal pairs (since 2010=2\frac{20}{10} = 2 items per decile group):         2,2⏟D13,3⏟D23,3⏟D34,4⏟D44,6⏟D56,7⏟D69,9⏟D79,9⏟D89,10⏟D910,12⏟D10\underbrace{2, 2}_{D_1} \quad \underbrace{3, 3}_{D_2} \quad \underbrace{3, 3}_{D_3} \quad \underbrace{4, 4}_{D_4} \quad \underbrace{4, 6}_{D_5} \quad \underbrace{6, 7}_{D_6} \quad \underbrace{9, 9}_{D_7} \quad \underbrace{9, 9}_{D_8} \quad \underbrace{9, 10}_{D_9} \quad \underbrace{10, 12}_{D_{10}}

  • Verification of Calculated Deciles:

    • Fourth Decile Boundary (D4D_4): Sits between group 4 and group 5. The value to the left is 4 and to the right is 4. Thus, D4=4D_4 = 4

    • Seventh Decile Boundary (D7D_7): Sits between group 7 and group 8. The value to the left is 9 and to the right is 9. Thus, D7=9D_7 = 9

    • Third Decile Boundary (D3D_3): Sits between group 3 and group 4. The value ends with 3 and starts with 4. Average: 3+42=3.5\frac{3 + 4}{2} = 3.5

    • Sixth Decile Boundary (D6D_6): Sits between group 6 and group 7. The value ends with 7 and starts with 9. Average: 7+92=8\frac{7 + 9}{2} = 8