\begin{block}{Interquartile range} Assume that we have $n$ measurements, $x_1, x_2, ... x_n$ and let $Q_1$ denote the first quartile and $Q_3$ denote the third quartile. The \textbf{Interquartile range} of the measurements is denoted with $IQR$ and calculated with \begin{equation*} IQR = Q_3 - Q_1. \end{equation*} \end{block}
Examples
We have the following measurements: \texttt{1, 2, 3, 5, 9, 9, 15, 17}. Find the interquartile range.
We have $Q_1 = 2.5$ and $Q_3 = 12$. \[ IQR = 12-2.5 = 9.5. \]