Thursday, July 16, 2015

Infinite expectations

Mark Thoma linked to Chris Dillow, who linked to the "two-envelope problem", which links to the St. Petersburg paradox.

The St. Petersburg paradox involves the expected value of a gambling game where you put up X dollars to enter a game where the k-th time you flip a fair coin and it comes up heads, the pot grows to 2ᵏ (the casino has infinite resources). The first time it comes up tails, you get whatever is in the pot. The question is how much money X should you put up to try your hand at this game?

The naive calculation of the expected value is infinite:

E = (1/2) · 2 + (1/4) · 4 + (1/8) · 8 + ...
E = 1 + 1 + 1 + ...
E = ∞

I was surprised the real answer wasn't listed in the Wikipedia article (but is available on Wikipedia):

E = (1/2) · 2 + (1/4) · 4 + (1/8) · 8 + ...
E = 1 + 1 + 1 + ...
E = ζ(0)
E = -1/2

... so you shouldn't enter the game at any ante.

[Update: This is a bit tongue-in-cheek. But only a bit.]

6 comments:

  1. So, is the blogging hiatus officially over?

    ReplyDelete
    Replies
    1. Technically these are posts, so maybe I should just call it "light blogging" ...

      Delete
  2. So, is the blogging hiatus officially over?

    ReplyDelete
  3. It is unfortunate that the term "expectation" (or even worse, "expected value") got picked by the mathematical literature. The so-called expectation is not necessarily the value you should expect, not at all.

    ReplyDelete
  4. OK, that was a mind blower... but I learned a little about a lot of different things. I'm content to leave it there for now.

    ReplyDelete

Comments are welcome. Please see the Moderation and comment policy.

Also, try to avoid the use of dollar signs as they interfere with my setup of mathjax. I left it set up that way because I think this is funny for an economics blog. You can use € or £ instead.

Note: Only a member of this blog may post a comment.