Looks like a reasonable intuition guide with a couple of caveats. This intuition only works for gaussian or may be a few other distributions, not for a general p(x). Then the EV rows in the tables are not actual EV quantities, only the total is an EV, that can confuse somebody. Overall I think, the point could have been carried better with a few nice charts showing the p(x), f(p(x)) and the E.
> This intuition only works for gaussian or may be a few other distributions, not for a general p(x) I don't think that's true. It's that if X is a random variable and φ is a convex function, then φ(E[X]) ≤ E[φ(X)]. It's not necessary for X to be Gaussian, only that φ is convex. An intuitive way of thinking about it is if φ is convex then it is cup-shaped. So if I sample two points from X and draw a line φ(x_1) to φ(…
Jensen's Inequality as an Intuition Tool (2021)
11–20 of 23 posts
Re: Jensen's Inequality as an Intuition Tool (2021)
#12Earlier quoted context omitted.
> This intuition only works for gaussian or may be a few other distributions, not for a general p(x) I don't think that's true. It's that if X is a random variable and φ is a convex function, then φ(E[X]) ≤ E[φ(X)]. It's not necessary for X to be Gaussian, only that φ is convex. An intuitive way of thinking about it is if φ is convex then it is cup-shaped. So if I sample two points from X and draw a line φ(x_1) to φ(…
That's what I mean. The Jensen inequality applies to any distribution, but the intuition presented in the post is only good for simple distributions and all examples are gaussian/binomial-like. It would be difficult to raise the same points with something multimodal or arbitrary.
Re: Jensen's Inequality as an Intuition Tool (2021)
#13Re: Jensen's Inequality as an Intuition Tool (2021)
#14I would have spent longer on this article but it did not define Jensen’s inequality before I got frustrated. I skimmed several section looking for it. :(
...the inequality the way I learned it²:
E[f(x)] ≥ f(E[x])
…if f(x) is convex
Re: Jensen's Inequality as an Intuition Tool (2021)
#15I would have spent longer on this article but it did not define Jensen’s inequality before I got frustrated. I skimmed several section looking for it. :(
There is a problem with the organization. At least one of the explanatory paragraphs in "2" of the table of contents should come before "why I find it interesting". Definitely recommend reading a little of this first: https://en.m.wikipedia.org/wiki/Jensen%27s_inequality (Could just provide a link to it near the beginning of the article for reference.)
(People might say, well isn't it obvious what convex means. My response is no, it's dealer's choice)
Re: Jensen's Inequality as an Intuition Tool (2021)
#16I like the visualizations of the expected value against the individual probabilistic components as well, though I wish there were more non-uniform distributions visualized. Perhaps if we take the traffic example and tweak the distribution to be non-uniform, that might make for a cool interactive viz.
Re: Jensen's Inequality as an Intuition Tool (2021)
#17Goes to wikipedia
"In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906,[1] building on an earlier proof of the same inequality for doubly-differentiable functions by Otto Hölder in 1889.[2] Given its generality, the inequality appears in many forms depending on the context, some of which are presented below. In its simplest form the inequality states that the convex transformation of a mean is less than or equal to the mean applied after convex transformation; it is a simple corollary that the opposite is true of concave transformations"
I still have no idea what it means.
Re: Jensen's Inequality as an Intuition Tool (2021)
#18I would have spent longer on this article but it did not define Jensen’s inequality before I got frustrated. I skimmed several section looking for it. :(
I had the exact same reaction and was about to rant here but I looked up the wikipedia article and to be fair to the author there is no simple easy way to explain this. The article actually does a decent job. :)
Re: Jensen's Inequality as an Intuition Tool (2021)
#19I have no idea what Jensen's inequality means. Goes to wikipedia "In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906,[1] building on an earlier proof of the same inequality for doubly-differentiable functions by Otto Hölder in 1889.[2] Given its generality,…
In my opinion, the wiki article is not well written.
Re: Jensen's Inequality as an Intuition Tool (2021)
#20I have no idea what Jensen's inequality means. Goes to wikipedia "In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906,[1] building on an earlier proof of the same inequality for doubly-differentiable functions by Otto Hölder in 1889.[2] Given its generality,…
\ /
\ /
\ /
\/
If you connect any two points, it lies outside the curve. Which is basically the intuition for Jensen's inequality: if you go partway between two points it's above the curve, so the weighted average of the curve at those two points is bigger than the curve at their weighted average.