Background:
There are often some values among sampling set that appear not closely compatible with the rest. They would be called as extreme values or simply outliers. Dealing with outliers has been always a matter of challenge. There are some approaches to solve the problem of the existence of outliers:
- moving them to a separated set
- replacing them with nearest values from non-outlier set
- ...
Question:
What is the most recommended method(s) to deal with outliers? (with details and an example)