Solved

# Detect outliers in a series of numbers

Posted on 2011-03-04

Suppose I have a series of numbers like this

-0.0289436618082665

-0.0322635297824615

0.0473380547993016

-0.0483053616147235

0.0561386651052217

-0.0546202231192121

3912478746624.73

-0.0570958411471398

-0.0406567550991673

-0.0191101260081410

-0.0178598058749180

5912378756654.12

-0.00649518615382946

-0.0569007033673227

0.00634860933789683

So you most are within a certain range, say +/- 1.0, but there a couple numbers way out of this range.

Is there an algorithm to determine which numbers are these outliers?

I was thinking if I could detect these, then I could calculate the mean of the non-outliers and replace the outliers with that.