IQR

Assuming data follows a gaussian distribution, the IQR covers the range between the Q1 and Q3. It's very easily to compute: IQR=Q3Q1\text{IQR} = \text{Q3} - \text{Q1}.

Once the IQR is known, we can classify as anomaly every value:

  • Higher than Q3+1.5 IQRQ3 + 1.5 \text{ IQR}

  • Lower than Q11.5 IQRQ1 - 1.5 \text{ IQR}

Last updated