Quartile

In descriptive statistics, a quartile is any of the three values which divide the sorted data set into four equal parts, so that each part represents 1/4th of the sampled population.

Thus:
 * first quartile (designated Q1) = lower quartile = cuts off lowest 25% of data = 25th percentile
 * second quartile (designated Q2) = median = cuts data set in half = 50th percentile
 * third quartile (designated Q3) = upper quartile = cuts off highest 25% of data, or lowest 75% = 75th percentile

The difference between the upper and lower quartiles is called the interquartile range.

There is no universal agreement on choosing the quartile values. One possible rule (employed by the TI-83 calculator boxplot and 1-Var Stats functions) is as follows:


 * 1) Use the median to divide the ordered data set into two halves. Do not include the median into the halves.
 * 2) The lower quartile value is the median of the lower half of the data. The upper quartile value is the median of the upper half of the data.

The examples below assume this rule.

Example 1 Data Set: 6, 47, 49, 15, 42, 41, 7, 39, 43, 40, 36 Ordered Data Set: 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49

$$\begin{cases} Q_1 = 25.5 \\ Q_2 = 40 \\ Q_3 = 42.5 \end{cases} $$

Example 2 Ordered Data Set: 7, 15, 36, 39, 40, 41

$$\begin{cases} Q_1 = 20.25 \\ Q_2 = 37.5 \\ Q_3 = 39.75 \end{cases} $$

Example 3 Ordered Data Set: 1 2 3 4

$$\begin{cases} Q_1 = 1.75 \\ Q_2 = 2.5 \\ Q_3 = 3.25 \end{cases} $$