1
$\begingroup$

Can anyone explain me in simple english why does mean and median play a important role on Data mining. Actually finding a mean and median is of what use?
And many people say's median is better at times than mean, why so? And I'm a novice in data mining so it will be really good if the answer is in simple terms.

$\endgroup$

2 Answers 2

3
$\begingroup$

Often you want to reduce multiple measurements of something to one value, because thats easier to handle and understand than the complete distribution, and you are o.k. with the information loss. So you take some "average" that should be representative of the distribution of the values. This "average" should be in the "middle" of the distribution. There are many ways to calculate the "middle", and Wikipedia lists some of them.

The median is exactly that: 50% of the values are smaller, 50% are larger, so the values of the actual measurements don't matter (only their rank) which makes it robust against skews in the distribution.

The arithmetic mean is the sum of all the values divided by their number. The numbers matter, it shifts with the distribution.

Which one is "better" depends on your application. Most people prefer a "robust" estimator, because they don't know the underlying distribution and want to be on the safe side.

$\endgroup$
1
  • $\begingroup$ (+1) Welcome to our community, Ido! $\endgroup$
    – whuber
    Commented Aug 28, 2011 at 22:06
2
$\begingroup$

wrt median <-> mean: The mean is known to be sensitive to outliers. That means: take a dataset of a thousand ones and 1 time 1 million (an obvious outlier). If you calculate the mean from this, you get 1000: the one exceptional value 1000000 has drawn the mean towards itself.

On the other hand, if you 'calculate' the median for this data, you still get 1, which may also not be the perfect representative for the 'middle' of this data, but is much closer to what most people's gut feeling of that concept signifies (somewhere very close to the 'bunch' of ones in your data).

However, as @Ido Tamir correctly states: this depends heavily on the application (maybe your goal is to account for the occasional exceptional value, extreme as it may be).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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