The simple truth is that you have been misinterpreting me since you joined the conversation. I saw it from your first response to me. I looked at your post and realized you were making false assumptions based on viewing post out of context of the thread. I knew if I enegaged you on that level the conversation would consistent of me untangling all of your misconceptions. — Jeremiah
You can't just enumerate a set of cases, and claim each is equally likely. If you could, there would be a 50% chance of winning, or losing, the lottery. — JeffJo
That is a very bad understanding of what a sample space and an event is. You are not applying your Principle of Indifference there — Jeremiah
Ya, great math there. — Jeremiah
Yes, my point was that the lottery example is a very bad description of a sample space. — JeffJo
It makes no sense to use a probability density curve[1] on this problem, considering X would only be selected ONCE[2], which means X<2X ALWAYS[3] (given that X is positive and not 0). That means no matter what X is the expected value will always be 1/2X+X[4], in every single case.
If you try to fit X to a statistical[5] distribution you are just piling assumptions on top of assumptions[6]. You are making assumptions about the sampling[7] distribution and the variance[8]. Assumptions in which you do not have the data to justify. You are also making assumptions about how X was even selected.[9] — Jeremiah
Then, despite the fact that I tried to address only those posts that had a smidgen of relevancy, or ones you pointed out as significant (and later claimed were not), you continued to insist you wouldn't read what I wrote. And it's quite clear you didn't; or at least that you didn't understand any of it.I am not doing this, not until you actually read all of my posts in this thread. — Jeremiah
I'm still confused. This makes it sound like the switching argument isn't fallacious -- it just makes an unwarranted assumption. — Srap Tasmaner
Do we need to assume that X is not continuous? If it is, all these probabilities are just 0, aren't they? — Srap Tasmaner
Jeremiah only got into the sims & distributions business because everyone was talking about these things and it was his intention to put an end to all the speculation and get the discussion back on track. It seemed to me he did this reluctantly with the intention of showing that even if you made some assumptions you shouldn't -- this has always been his view -- it might not help in the way you think it does. — Srap Tasmaner
I was being terse. A longer version of what I said is "So '2X' is meaningless if you try to use it as a value." This thread has gone on too long, and I didn't want to have to explain the mathematics of probability theory any more than I already have.Isn't 2X just a transformation of X that doubles the possible values in X? — Andrew M
The amount you have is $x. The other envelope contains either $2x or $x/2. If it's $2x then you gain $x by switching. If it's $x/2 then you lose $x/2 by switching. — Michael
My simulations were there to display the inherit ambiguity in defining a prior distribution. X is an unknown, treat it like an unknown. — Jeremiah
And my response to these sentiments has always been that you can't define/calculate the prior distribution, and that it was a misguided effort to even try (as you did).I have also already shown that trying to calculate expected returns is a misguided effort. — Jeremiah
Choosing any explicit distribution for the OP is indeed misguided, which is why your simulations were misguided. That, and the fact that your conclusions could be proven without such modeling.I think in terms of modeling the actual OP the inclusion of distributions or switching strategies is misguided. — Jeremiah
However, these models do provide a useful platform to investigate properties that may be applied to other probabilistic aspects.
And that's because of what I explained here. — Michael
We've already established that the expected gain is
E(B∣A=a)=P(X=a∣A=a)2a+P(2X=a∣A=a)a/2 — Michael
The objective probabilities of X=a∣A=a and 2X=a∣A=a depend on how the host selects the value of X.
If he selects it at random from a distribution that includes a2 and a then the objective probability of X=a∣A=a is 0.5 …
So there would be an objective expected gain.
What if we just say that, having observed the value of our envelope to be a, then the expected value of the other is 3X - a for some unknown X? That formula, unlike the expected value formula, doesn't require any probabilities to be filled in. It's uninformative, but so what? — Srap Tasmaner
On the other hand, I think the right way to look at it is what I've been saying lately:
there are two choices;
the host's choice determines how much can be gained or lost by switching;
the player's choices determines whether they gain or lose. — Srap Tasmaner
Certainly. It isn't "objective." I thought I made that pretty clear.So if I pick a number at random from {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} you disagree that the objective probability that I will pick 5 is 0.1? — Michael
And that's the point. You cannot know this in the two envelope problem, when you know what value you are switching from. Unless, of course, you know how the amounts were determined. Do you?If I know that the odds are even then I will play.
I'm assuming, based on the first sentence here, that you left a "not" out of the second?If I know that the odds aren't even then I might be willing to play, depending on the odds. If I don't know the odds then I will play.
Yep. Now, do you know how the odds of having only a $5 and a $10 compare to only having a $10 and a $20? No? Then you can't say that the chances of gaining are the same as the chances of losing.And if all he had was a $10 bill and a $20 bill then my chances of picking High = $10 is nil.
Say "I don't know how to compare the chances of gaining to the chance of losing."So what am I supposed to do if I don't know how the values are selected?
Nope. The PoI applies only if you can establish that there is a causal equivalence between every member of the set to which you apply it. It is specifically inapplicable here, because there cannot be a strategy for filling the envelopes where it is true for an arbitrary value you see.As I said here, if I don't have any reason to believe that X = 5 is more likely than X = 10 then why wouldn't I switch? I think the principle of indifference is entirely appropriate in this circumstance.
That is a different question. The point is that the risk is unknowable, and probably not 50%. Whether you think that a $5 loss is acceptable regardless of the risk is a subjective decision only you can make.There's more to gain than there is to lose, and a loss of £5 is an acceptable risk.
There is never any case, no matter what envelope you picked from whatever pair, in which you have a non-zero chance of gaining and a non-zero chance of losing — Srap Tasmaner
Well, I can't address your disagreement unless you explain why you feel that way. That characterization is correct. There may be different ways people express their uncertainty, but it still boils down to the same concept.In broad terms I do not disagree with that characterisation. — andrewk
What kind of differences are you talking about? There is no single way to express a sample space, and in fact what constitutes an "outcome" is undefined. We've experienced that here: some will use a random variable V that means the value in your envelope, while others represent the same property of the process by the difference D (which is the low value as well).But there is often more than one way to represent uncertainty, and these lead to different probability spaces. I have referred previously to the observation that in finance many different, mutually incompatible probability spaces can be used to assign a value to a portfolio of derivatives.
Maybe I was mixing Andrews up. I apologize.And what you seem to be avoiding with that attitude, is that the expectation formula (v/2)/2 + (2v)/2 is already assuming: — JeffJo
I am not an advocate for that expectation formula, so I don't see why you'd think I am avoiding those objections to it.
The highlighted assertion is incorrect. First off, "objective probability" means the "likelihood of a specific occurrence, based on repeated random experiments and measurements (subject to verification by independent experts), instead of on subjective evaluations." Se have no such repeated measurements, so any assessment of Pr(X=a∣A=a) is subjective.If he selects it at random from a distribution that includes a2 and a then the objective probability of X=a∣A=a is 0.5 and the objective probability of 2X=a∣A=a is 0.5. So there would be an objective expected gain. — Michael
So, you are willing to risk losing $5 for the chance to gain $10? Regardless of the odds behind that risk?If there's £10 in my envelope and I know that the other envelope contains either £5 or £20 because I know that one envelope contains twice as much as the other then I have a reason to switch; I want an extra £10 and am willing to risk losing £5 to get it. — Michael
I differ from that perspective is that I reject the notion that there is such a thing as a 'real' probability (aka 'true', 'raw', 'correct', 'absolute' or 'observer independent' probability). — andrewk
I did read the thread. You did not read my replies. Like this one, where I said "you have no information that would let you calculate [the expected gain or loss]" and you replied with "you can't really calculate the expected value" as if I hadn't just said the same thing.If you do look, THERE IS PROBABLY AN EXPECTED GAIN OR LOSS, but you have no information that would let you calculate it. This is different from knowing it is 0. — JeffJo
So since you don't know which case you are in after seeing Y and they are not equal you can't really calculate the expected value. Now if you never opened A and never saw Y, that is a different story. — Jeremiah
You did not read the thread. — Jeremiah
I think the confusion comes when you switch from
E(other) = (larger)P(picked smaller) + (smaller)P(picked larger)
where the probabilities of picking smaller and larger are equal, to
E(other | picked = a) = (2a)P(picked smaller | picked = a) + (a/2)P(picked larger | picked = a)
because it's tempting to think these conditional probabilities are equal, just like the unconditional probabilities above, but this we do not know. — Srap Tasmaner
You are misinterpreting what I said, what your link says and your source is Wikipedia. — Jeremiah
Bayesian inference is a method of statistical inference in which Bayes' theorem is used to update the probability for a hypothesis as more evidence or information becomes available.
...
H stands for any hypothesis whose probability may be affected by data (called evidence below). Often there are competing hypotheses, and the task is to determine which is the most probable.
Pr(H), the prior probability, is the estimate of the probability of the hypothesis H.
↪Jeremiah
Why is equiprobability simple but other priors aren't? — fdrake
And if I see £10 then I stand to gain £10 and I stand to lose £5. — Michael
You don't "guess" a prior. Priors have to be justified. If you don't know you use an uninformative prior. — Jeremiah
And that unknown value in his pocket has a distribution. We don't need to "check it," as long as the symbolic probability space we use satisfies the requirements of being a probability space.I agree in the strictness sense of the definition there is an unknown distribution, but as far was we know it was whatever was in his pocket when he filled the envelopes. We can't select a distribution to use, as we have no way to check it. — Jeremiah
Jeremiah oversimplifies.If you use a distribution you are making assumptions not included in the OP. I pointed this out before. — Jeremiah
Even in that more general case, the Bayesian approach can give a switching strategy with a positive expected net gain. — andrewk
As an aside, I think we're saying the same thing from different angles. — fdrake
I see the situation as this:
Assume there's £10 in my envelope and that one envelope contains twice as much as the other. The other envelope must contain either £5 or £20. Each is equally likely and so the expected value of the other envelope is £12.50. I can then take advantage of this fact by employing this switching strategy to achieve this .25 gain. — Michael
Of course you won't. You don't like facts that disagree with your beliefs.I will not further debate such specifics. — Jeremiah
I hope I'm not talking down, that isn't my point. But probability really needs great care with terminology, and it has been noticeably lacking in this thread. This question is a result of that lack.You're going it again. Is X the value of my envelope or the value of the smallest envelope? You're switching between both and it doesn't make any sense, especially where you say "if you have the lower value envelope X/2".
If you did, that statement was completely obfuscated by your sloppy techniques. And it isn't the argument that is flawed, it is the assumption that you know the distribution. As shown by the points you have ignored in my posts.I specifically said that my simulation is not about finding expected results as that entire argument is flawed.
The thing to notice here is that you can't use your "X"- the lower value - as a condition unless you see both envelopes, which renders analysis pointless.The thing to notice here is that in all cases the absolute value of the difference between column one and column two is always equal to the lesser of the two (save rounding errors). The lesser of the two is X.
I pointed out a few times that the sample space of event R and the sample space of event S are equal subsets of each other, which means mathematically we can treat them the same.
This is unintelligble.R and S is the event you have X or 2X when you get A. By definition of A and B, if A=X then B =2X, or if A =2X then B=X. So by definition if A equals X then B cannot also equal X.
This may be what you were referring to when about "Y." It still refers to ill-defined sets, not distributions.I also pointed out that as soon as you introduce Y they are no longer equal subsets and therefore mathematically cannot be treated the same.
It is provable without simulation that the the two distributions are the same, so this is pointless. We can accept that the distributions are the same. And it is is obvious you didn't read my posts describing why the simulation is pointless. In short, the "data" you apply "data science" to pertains only to how well your simulation addresses the provable fact.The point of this demonstration is to show that the possible distribution of A is the same as the possible distribution of B. ... So we see with a D test statistics of 0.0077 and a 0.92 p-value we don't have strong enough evidence to support the alternative hypothesis that the two distributions are reasonably different.
And again, you won't say what results you mean.I am happy with my correct results.
... is a correct solution to the original problem when you don't look in the envelope. The problem with it, is that it doesn't explain to why his program doesn't model the OP. That is something you never did correctly, and you refuse to accept that I did.If you have X and you switch then you get 2X but lose X so you gain X; so you get a +1 X. However, if you have 2X and switch then you gain X and lose 2X; so you get a -1 X.
... is also correct, although it is easier to prove it directly, But it is still irrelevant unless you determine that the two distributions are independent. AND THEY ARE NOT.the possible distribution of A is the same as the possible distribution of B
... that is incorrect, as I just showed in my last post. The probability that A has the smaller value depends on the relative values of two probabilities in that distribution, so it is significant to the question you address here.the distribution in which X was selected from is not significant when assessing the possible outcome of envelope A and B concerning X or 2X.
I am well aware 0 was a possible outcome, the code just runs better without the loops, and it was not significant enough to care.
Sorry my simulation proves you wrong.
In short, the "need to" include the probability distribution is because the formulation of the "simple algebraic solution" is incorrect if you exclude it.I'm just trying to understand the "need to" in that sentence.
