Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question relative to the correct method to deal with univariate outliers when one has to conduct an ANOVA.

Starting with an example, suppose I have two samples of subjects tested on a number of dependent variables. For each dependent variable I run an ANOVA with group as independent variable. Suppose, now, that I have identified a series of univariate outliers for each dependent variable.

Have I to first remove all the outliers and then conduct the various ANOVAs, or have I to remove only the outliers relative to the specific dependent variable for which I'm conducting the ANOVA?

share|improve this question
what makes your outliers outliers? – John Dec 15 '12 at 22:17
I refer to outliers identified by the boxplot... – Dec 15 '12 at 22:23
up vote 3 down vote accepted

"I refer to outliers identified by the boxplot"

You can miss many outliers proceeding this way: an observation can be outlying in the multivariate (design,dependant)-space without being obviously outlying in any of the (design/dependant) variable taken in isolation.

The best procedure is simply to use an estimation method that is not affected by outliers. Robust anova/regression routines are implemented in most common statistical software. As an example in R in the package robustbase.

Below I illustrate how multivariate outliers can wreck a linear model without standing out in any of the (design/dependant) variable individually.



By construction, these 5 outliers will not visible on the variable-wise boxplots.

variable-wise boxplots

Yet, if you run an ANOVA on salinity2 you will get completely different results as an ANOVA ran on salinity. The robust ANOVA on the other hand gives essentially the same results for salinity2 as for salinity:





Here is a good recent review article on robust statistics.

share|improve this answer
Yes. The bottom line is that ANOVA deals very poorly with many non-normal distributions, whether this is in the form of outliers from an otherwise Normal distribution or of a skewed distribution. Particularly in the small sample sizes that are common in certain fields. Modern robust methods are a must. – Peter Ellis Dec 16 '12 at 0:39
Thanks for your clarity and for the example. From your answer, can I conclude that in your opinion removing outliers is not a good practice? Anyway, I considered univariate outliers since I had to run single ANOVAs, so taking one dependent variable at once. I would have considered multivariate outliers if I had to conduct a MANOVA for all the dependent variables. Is this line of reasoning correct? – Dec 16 '12 at 8:52
no and no. I showed an example with a single dependent variable and 3 design variables. I showed that even in this simple case, it is possible for harmful outliers to remain hidden on boxplots of the variables. Therefore, using variable-wise boxplots to identify outliers is not sufficient. Robust methods start by identifying the outliers and then down-weight them. Using a robust method on the original sample is essentially the same as finding the outliers and using a non robust method on the cleaned data. – user603 Dec 16 '12 at 10:28
Ok, thanks again. – Dec 16 '12 at 13:31

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.