Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

Hi math people.

I'm in the process of analyzing some data that I collected through an experiment. The data are (somewhat) normally distributed and I represent the different data-sets using boxplot, to provide an easy way of visually comparing the mean between the data-sets and the change in the variance.

In Matlab as default, the whiskers are used to represent all samples lying within 1.5 times the IQR. According to Wikipedia on the boxplot, this is one of several way of using the whiskers. My question is simple why? What special significance does 1.5 times IQR have? Why not e.g. three times sigma?

(NB: I wanted to add the tags "matlab" and "boxplot", but I'm unable to create new tags.)

share|improve this question
This won't answer your question, but you should note that you are misusing the word "sample". The whole set of numbers that you've got is your sample; the individual numbers are not samples; they're observations within a sample. It doesn't seem clear what is meant by "within 1.5 times the IQR". Does that mean within that distance of the median? Or the mean? Or maybe of the quartiles? Or what? –  Michael Hardy May 30 '10 at 23:47
@Michael Thanks for the input. I have always thought of samples as the single "elements" of data you collect e.g. during an experiment or from a signal (as in sampling a signal, which results in a lot of samples from a sampled signal.) So a sample is a set of observations collected through a single trial(?). Do you have a source on this, just so I can get a clear understand of the correct use of the words? –  bjarkef Jun 1 '10 at 18:09

1 Answer 1

up vote 1 down vote accepted

Three sigma has less relevance for asymmetric distributions. Using quartiles keeps it nonparametric. Regarding why not other quantiles of the distribution rather than 1.5*IQR, you can follow some comments on this thread, which basically argues that you want to avoid specifying a fixed fraction of your data to be flagged as 'outliers'.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.