Skip to content

Mathematics and Statistics · Ch 10 — Partition Values

Partition Values for Ungrouped (Raw) Data

2

Partition Values for Ungrouped (Raw) Data

For ungrouped (raw) data, first arrange the nn observations in ascending order. Each partition value is then the observation lying at a particular position in that ordered list.

Note

Position Formulas (Raw Data)

Qi=value of the [i(n+1)4]th observation,i=1,2,3Q_i = \text{value of the } \left[\frac{i(n+1)}{4}\right]^{\text{th}} \text{ observation}, \quad i = 1, 2, 3

Dj=value of the [j(n+1)10]th observation,j=1,2,…,9D_j = \text{value of the } \left[\frac{j(n+1)}{10}\right]^{\text{th}} \text{ observation}, \quad j = 1, 2, \ldots, 9

Pk=value of the [k(n+1)100]th observation,k=1,2,…,99P_k = \text{value of the } \left[\frac{k(n+1)}{100}\right]^{\text{th}} \text{ observation}, \quad k = 1, 2, \ldots, 99

Here nn is the number of observations. Notice all three use (n+1)(n+1) — the median position n+12\tfrac{n+1}{2} is just the special case Q2Q_2, D5D_5 or P50P_{50}.

Note

When the Position Is Not a Whole Number

If the position works out to, say, the 7.57.5th observation, the partition value lies between the 7th and 8th ordered observations. Take it by linear interpolation:

value=x(7)+0.5 (x(8)−x(7)),\text{value} = x_{(7)} + 0.5\,\big(x_{(8)} - x_{(7)}\big),

i.e. the lower observation plus the fractional part times the gap to the next observation. (In general, for position m.fm.f the value is x(m)+f [ x(m+1)−x(m) ]x_{(m)} + f\,[\,x_{(m+1)} - x_{(m)}\,].)

Worked illustration. For the ordered data 12,18,25,30,35,40,48,52,6012, 18, 25, 30, 35, 40, 48, 52, 60 (n=9n = 9, so n+1=10n+1 = 10): …

Definition 3Quartile position (raw data)

QiQ_i is the value of the [i(n+1)4]th\left[\frac{i(n+1)}{4}\right]^{\text{th}} ordered observation, for i=1,2,3i = 1, 2, 3, where nn is the …

Definition 4Linear interpolation of a partition value

When the position is m.fm.f (a whole part mm and a fraction ff), the value is x(m)+f(x(m+1)−x(m))x_{(m)} + f\big(x_{(m+1)} - x_{(m)}\big) — the lower observation plus the fra …