11
$\begingroup$

How does the expected value of a continuous random variable relate to its arithmetic mean, median, etc. in a non-normal distribution (eg. skew-normal)? I'm interested in any common/interesting distributions (eg. log-normal, simple bi/multimodal distributions, anything else weird and wonderful).

I'm looking mostly for qualitative answers, but any quantitative or formulaic answers are also welcome. I'd particularly like to see any visual representations that make it clearer.

$\endgroup$
3
  • $\begingroup$ Can you be a bit clearer? The arithmetic mean and median are functions we apply to data, not anything intrinsic to particular distributions... for example, data doesn't have to be Normal in order for you to calculate the sample mean. $\endgroup$
    – guest
    Feb 28, 2012 at 7:59
  • $\begingroup$ Ok, so the question should technically be "how does the expected value relate to the mean, median etc. of data drawn randomly from a particular probability distribution?" I'm looking for simple, intuitive understandings, similar to the way you can intuitively say that when a distribution is more skewed, the median and the mean are further apart, and the median may give a better indication of where the data lies. $\endgroup$
    – naught101
    Feb 28, 2012 at 10:40
  • $\begingroup$ Heh. Thanks Marco. I've clearly been reading things wrong. May as well write that as an answer, I'll chose it at he best answer. $\endgroup$
    – naught101
    Mar 2, 2012 at 5:02

4 Answers 4

10
$\begingroup$

(partially converted from my now-deleted comment above)

The expected value and the arithmetic mean are the exact same thing. The median is related to the mean in a non-trivial way but you can say a few things about their relation:

  • when a distribution is symmetric, the mean and the median are the same

  • when a distribution is negatively skewed, the median is usually greater than the mean

  • when a distribution is positively skewed, the median is usually less than the mean

$\endgroup$
5
  • $\begingroup$ Interesting. What examples are there of the unusual behaviour of a negatively skewed distribution where the mean is greater than the median? $\endgroup$
    – naught101
    Mar 4, 2012 at 6:58
  • $\begingroup$ @naught101: is this a typo? A negatively skewed distribution is one in which the left-of-centre outcomes occur more frequently than the right-of-centre outcomes, and therefore the "tail" of low frequency outcomes goes out to the right. In such a situation, the hump on the left will always pull the (arithmetic) mean left of centre, while the tail on the right will keep the median greater than the mean. $\endgroup$ Oct 23, 2014 at 17:50
  • $\begingroup$ @AssadEbrahim: No, it was a reference to Macro's comment "the median is usually greater than the mean" - I was asking for counter examples. $\endgroup$
    – naught101
    Oct 24, 2014 at 0:34
  • $\begingroup$ @naught101: The counter-examples in the case of a unimodal distribution are his next line: when the hump is to the right then the tail to the left pulls the median below the mean. The longer the tail, the greater the gap between median and mean. $\endgroup$ Oct 24, 2014 at 8:49
  • 1
    $\begingroup$ What are the practical circumstances in which one would use a median over a mean or vice versa? For example in survival analysis where lifetimes follow an exponential distribution, should I use the median (so half the things last longer, half last less) or the mean (the "expected" lifetime) if I had to predict life/death as a binary outcome? $\endgroup$
    – drevicko
    Jun 19, 2015 at 5:33
7
$\begingroup$

There is a nice relationship between the harmonic, the geometric, and the arithmetic mean of a log-normally distributed random variable $X \sim \mathcal{LN}\left( \mu,\sigma^2 \right)$. The parameters of the distribution are related to the different means in the following way:

  • $\mathrm{HM}(X) = \mathrm{e}^{\mu - \frac{1}{2}\sigma^2}$ (harmonic mean),
  • $\mathrm{GM}(X) = \mathrm{e}^{\mu}$ (geometric mean),
  • $\mathrm{AM}(X) = \mathrm{e}^{\mu + \frac{1}{2}\sigma^2}$ (arithmetic mean).

Using these identities, it is not difficult to see that the product of the harmonic and the arithmetic mean yields the square of the geometric mean, i.e.

$$ \mathrm{HM}(X) \cdot \mathrm{AM}(X) = \mathrm{GM}^2(X). $$

Since all values are positive, we can take the squre root and find that the geometric mean of $X$ is the geometric mean of the harmonic mean of $X$ and the arithmetic mean of $X$, i.e.

$$ \mathrm{GM}(X) = \sqrt{ \mathrm{HM}(X) \cdot \mathrm{AM}(X) }. $$

Furthermore, the well-known HM-GM-AM inequality

$$ \mathrm{HM}(X) \leq \mathrm{GM}(X) \leq \mathrm{AM}(X) $$

can be expressed exactly as

$$ \mathrm{HM}(X) \cdot \sqrt{\mathrm{GVar}(X)} = \mathrm{GM}(X) = \dfrac{\mathrm{AM}(X)}{\sqrt{\mathrm{GVar}(X)}}, $$

where $\mathrm{GVar}(X) = \mathrm{e}^{\sigma^2}$ is the geometric variance.

$\endgroup$
1
$\begingroup$

For completeness, there are also distributions for which the mean is not well defined. A classic example is the Cauchy distribution (this answer has a nice explanation of why). Another important example is the Pareto distribution with exponent less than 2.

$\endgroup$
2
  • 1
    $\begingroup$ Several iff's. A power law is not a distribution, but a Pareto distribution is a power law. This relates to the non-integrability of a log-convex power function at $x=0$. For a power law, you mean less than 2, not greater than 2. $\endgroup$
    – Carl
    Apr 22, 2018 at 7:10
  • $\begingroup$ @Carl good points - I edited the answer accordingly. Many thx (: $\endgroup$
    – drevicko
    Apr 25, 2018 at 2:33
0
$\begingroup$

While it is correct that mathematically mean and expectation value are defined identically, for a skewed distribution this naming convention becomes misleading.

Imagine you are asking a friend about the housing prices in her city because you really like it there and actually think about moving to that city.

If the distribution of housing prizes were unimodal and symmetric, then your friend can tell you the mean price of houses and indeed you can expect to find most houses on the market around that mean value.

However, if the distribution of housing prices is unimodal and skewed, for example right-skewed with most houses in the lower price range to the left and only some exorbitant houses on the right, then the mean will be "skewed" to high prices on the right.

For this unimodal, skewed house price distribution you can expect to find most houses on the market around the median.

$\endgroup$
2
  • 1
    $\begingroup$ It is not clear what you mean when you say for skewed unimodal distributions the house price distribution has prices around the median. What can be said is that half of the values will be at or below the median & half will be at or above the median. It doesn't indicate how close these values are to the mean. $\endgroup$ Jan 10, 2020 at 19:22
  • $\begingroup$ I take it that your last sentence is supposed to end with "median"? If so I think it obvious that the median has to be the (attainable) value closest to the average (which might not be attainable, e.g. not a housing price) of a random sample taken from the population described above. That is the median is closest to that average sample, on average. If not so, I did not make a claim about how close these values are to the mean. I made a claim about their distance to the median. $\endgroup$
    – Sol Hator
    Apr 9, 2020 at 13:43

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.