## 3.27 General Formula for Partition Values

For odd n,

$$A_i= \frac{i \times (n+1)}{k}th \space value$$

For even n,

$$A_i=\frac{\frac{i \times n}{k}th+(\frac{i\times n}{k}+1)th}{k}$$

where, k = no. of partitions

For median, for example, k = 2.

• What if we divide the data set into 20 segments?