• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Expected Value and the Two Envelope Problem

    September 4th, 2011
    expected_value  [html]
    Someone puts $X in one envelope and $2X in another. They hand you one at random. Before you open it and keep the contents, they offer to let you switch your envelope for the other one. You can't detect any differences between the two envelopes. Should you accept their offer to switch?

    Common sense says no: the two are identical, you have even odds of getting $X and $2X. Expected value, however, says yes. Whatever envelope you have has some amount of money $Y in it. The other envelope has, with even odds, $2Y and $0.5Y. The expected value of switching, then, is the average of $2Y and $0.5Y, or $1.25Y, minus the $Y in the envelope you have. That would be $0.25Y as the expected value of switching, so you should switch. Unfortunately, now that you have switched, you would repeat all this logic, determine that the other envelope had more money, and switch again. Forever. Does expected value trap us in eternal loops of envelope cycling?

    This is often considered to be a demonstration of how expected value can give unreasonable answers. But perhaps a solution to this is to frame things differently. We know one of the envelopes has $X and the other has $2X. In switching you are either going from $X to $2X or the reverse; either gaining $X or losing $X. So the expected value of switching is the average of $X and -$X, or zero.

    The second framing gives a more reasonable answer, but is there any other reason to prefer it to the first?

    Comment via: google plus, facebook

    Recent posts on blogs I like:

    The Gift of It's Your Problem Now

    Recently a security hole in a certain open source Java library resulted in a worldwide emergency kerfuffle as, say, 40% of the possibly hundreds of millions of worldwide deployments of this library needed to be updated in a hurry. (The other 60% also …

    via apenwarr January 1, 2022

    The container throttling problem

    This is an excerpt from an internal document David Mackey and I co-authored in April 2019. The document is excerpted since much of the original doc was about comparing possible approaches to increasing efficency at Twitter, which is mostly information tha…

    via Posts on December 18, 2021

    Experiences in raising children in shared housing

    Sometimes I see posts about people’s hope to raise children in a group housing situation, and it often seems overly optimistic to me. In particular they seem to expect that there will be more shared childcare than I think should be expected. Today I talke…

    via The whole sky October 18, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact