(3) Michael and @andrewk have part of the right analysis, but something more is needed. — Srap Tasmaner
I agree with both of these. The point about the maximum possible amount has been made before, but has been lost in the length of the thread. I mentioned it somewhere early on, and in the interests of simplicity, declined to probe further because (1) I thought digging into it would have required some fancy notation like integral signs, and I couldn't remember how to invoke latex on this site (Edit: I see from the above that Michael has mastered it) and (2) I was pretty confident it would not make a material difference.I disagree that the 50% chance can be assumed. If the sample space is finite, then there is a non-zero chance that the $10 amount is the maximum amount. — Andrew M
I mean that I know my envelope has 10 and that the other envelope has either 5 or 20.What does that mean? You know one of them must be in the distribution of X, but you don't know which — Srap Tasmaner
Not if it is in two different games, which is what is happening here.If I have the larger envelope, then the other has 5 and the average value of an envelope is 7.5.
If I have the smaller, then the other has 20 and the average value of an envelope is 15.
(It is prima facie absurd that the average value of an envelope changes depending on whether you have the larger or the smaller of the two.) — Srap Tasmaner
Good, so you are challenging line 0 of my proof.Your error, BTW, is having the two situations are that X = 5 or that X = 10 — Snakes Alive
There is no long term in this setup. There is a single offering. If we want to consider a long series of such activities, it needs to be set up precisely, and that has not been done. A number of crucial conditions will need to be specified, such as whether X is always the same and if not, how it varies from one play to the next. The best strategy will vary according to how those conditions are set up.If you could prove that always switching is the best strategy over the long term, doesn't that amount to proving that you are more likely to have chosen the smaller envelope? Why doesn't that bother you? — Srap Tasmaner
we use conditional probabilities to calculate the gain G from switching as follows, where the envelope we looked in contained £10:
E[G] = 0.5 * E[G | X= 5] + 0.5 * E[G | X= 10] ] . . . . . . . . . . . (0)
= 0.5 * E[-X | X= 5] + 0.5 * E[+X | X= 10] . . . . . . . . . . . (1)
= 0.5 * E[-5 | X= 5] + 0.5 * E[+10 | X= 10] . . . . . . . . . . . (2)
= 0.5 * (-5) + 0.5 * (+10) . . . . . . . . . . . (3)
= £2.50 . . . . . . . . . . . . (4) — andrewk
That claim is not consistent with the following formal calculations from my earlier post:On choosing an envelope and learning the amount in it, there is still no reason to prefer one envelope to the other. So there is no reason to switch. — Andrew M
which say that, after opening the first envelope and finding 10 pounds in it, the expected gain from switching is 2 pounds fifty.we use conditional probabilities to calculate the expected value of the gain G from switching [after seeing 10 pounds in the first envelope] as follows:
E[G] = 0.5 * E[G | X= 5] + 0.5 * E[G | X= 10] ] . . . . . . . . . . . (0)
= 0.5 * E[-X | X= 5] + 0.5 * E[+X | X= 10] . . . . . . . . . . . (1)
= 0.5 * E[-5 | X= 5] + 0.5 * E[+10 | X= 10] . . . . . . . . . . . (2)
= 0.5 * (-5) + 0.5 * (+10) . . . . . . . . . . . (3)
= £2.50 . . . . . . . . . . . . (4) — andrewk
You've found me out. Please don't tell my employers that, or I'll lose my job.I don't think you understand the concept of a probability distribution and, in relation to statistics, I don't think you know what those density curves are for — Jeremiah
The conclusion of symmetry is incorrect, because X is £5 in the first case and £10 in the second case. So we can't say that there's no difference because we lose X in one case and gain X in the other.[Jeremiah's] reasoning is:
I have £10. If X is 5 then I lose £X by switching. If X is 10 then I gain £X by switching.
So it's either -£X or +£X. This is symmetrical. — Michael
That distribution is (1) unknown, as X is unknown and (2) not appropriate for estimating expected gains from switching, since it does not use all the available information after the envelope has been opened. The expected gains from switching, in the absence of any knowledge of how X was selected, is as @Michael calculated it earlier. But the question in the OP does not explicitly ask for expected gains from switching. It just asks 'should you switch?'. What is supposed to be the metric used to determine whether to switch?Well technically this is a probability distribution: 1/2(X) + 1/2(2X). 50% is distributed to X and 50% is distributed to 2X.
That is not consistent with your use of the term 'expected value' in the following:This has nothing at all to do with distributions. — Jeremiah
'Expected value' only has meaning in the context of a probability distribution.In both cases our expected value then is:
1/2(X) + 1/2(2X) = 1/2X+X.
Which is the mid point between X and 2X. — Jeremiah
This is not well-defined. It needs re-stating to make it unambiguous. Here are some options.There are two possible amounts for the contents of the two envelopes either X or 2X. You don't know which is which — Jeremiah
It was a good choice. In the version in wikipedia it is easy, and uncontroversial, to conclude that there is no reason to switch. Not so in this case.I picked this version to generate more discussion. I think this version of the problem forces more conflict of ideas, which in turn generates more discussion. — Jeremiah
You said this in reply to my pointing out that arguments based on expected values prior to opening an envelope are wrong because we don't even know if there is an expected value. To rebut that, you need to show that there is an expected value, eg that we can be confident the lower amount X is not drawn from a Cauchy distribution.Not true. — Jeremiah
I am seeking to justify something - armed deterrence - that you call violence and that I do not. The state that results from that, I call peace and you do not.I think you are trying to justify violence and pretend it is peace. — unenlightened
As far as this goes, I am in passionate agreement. Your OP was poetic and moving. Poetry can evoke powerful emotions, in this case, for me, emotions of sadness that we, like all other animals, have violence indelibly written in our genes.I have merely pointed out and lamented that the world that we live in is founded on violence. — unenlightened
It's necessary to distinguish between two cases, which is whether we know the distribution of X, ie the distribution for the lower of the two values.As Jeremiah points out, your code doesn't reflect the problem in the OP. Before an envelope is picked, the expected value of each envelope is the same. — Andrew M
That sounds correct.If Γ ⊨ ¬φ[τ] for some ground term τ, then Γ ⊭ ∀x.φ[x]; true or false?
Isn't it true? — Rayan
It sounds like you feel you've come up against something that is contrary to the above. I can't see it. What do you see that concerns you?Am I missing something? Because when I check the answers, it turns out that it is false... — Rayan
Yes, that was a mistake. 'is a block' is unary. Instead let it be 'is the same shape as', which is binary.But isn't above a binary relation constant? It can't be is a block. — Rayan
It looks like you're assuming the player's utility function is the identity function, which would be unusual and unrealistic. Even if we assume that, the quoted calculation doesn't take account of all the available information. There is new information, which is the known dollar value in the opened envelope. That changes the utility calculation.The expected value of each envelope is $(X + 2X)/2 = $3X/2 = $1.5X. You should be indifferent between switching or not. — Andrew M