You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

shminux comments on Probability puzzle - Less Wrong Discussion

7 Post author: malthrin 28 November 2011 09:33PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (26)

You are viewing a single comment's thread.

Comment author: shminux 28 November 2011 11:22:42PM 1 point [-]

Assume that all heads:tails ratios are equally likely for the coin.

Presumably there is still a fixed (frequentist) probability of a flip being heads, otherwise your coin either has memory or is a subject to an unknown external interference.

You have to accurately predict at least 75% of flips to come out ahead, there is no way to do that with a fair(ish) coin, so, even if you have a perfect model of the coin you will likely lose if the coin is moderately unfair (25%-75% heads), regardless of N.

Maybe I misunderstand your setup.

Comment author: Caspian 28 November 2011 11:34:31PM 3 points [-]

You can stop playing early if the coin appears too unbiased, to limit losses, but keep playing for the full N turns if the coin seems predictable enough.

Comment author: malthrin 28 November 2011 11:41:44PM *  0 points [-]

Right. The coin has a fixed value for P(heads), set when your friend tampered with it. You just don't know what it is.

Comment author: shminux 29 November 2011 12:12:09AM 2 points [-]

OK, so you are averaging over all possible flip odds, assuming a uniform distribution of them. That's what "Assume that all heads:tails ratios are equally likely for the coin." means.

Your obvious best playing strategy is to look at the history of flips and trust the apparent bias. Assuming that N is much larger than the time it takes for the apparent bias to settle to the real one (perfect modeling), your odds of winning are max(p,1-p). Let's assume p > 0.5. Your expected payout per flip is 1p-3(1-p)=4p-3. Averaged over 0.5<p<1, this gives 0. In other words, even if the coin bias is given to you, you do not come out ahead when averaged over all biases, regardless of N.

Hmm, what else am I missing?

Comment author: malthrin 29 November 2011 12:33:40AM 0 points [-]

You're missing the third option - the choice to stop playing.

Comment author: thomblake 29 November 2011 12:48:44AM 1 point [-]

So then can N be the dynamic result of a function, rather than a value?

Comment author: malthrin 29 November 2011 12:52:59AM 0 points [-]

No, you have to state N before you start flipping coins.

Comment author: thomblake 29 November 2011 01:11:31AM 1 point [-]

Ah, I get it now. N is stated ahead of time, but you can (predictably) use the information so far to "stop playing" whenever you want, and that's part of the optimal strategy to consider in the expectation.

Comment author: Matt_Simpson 29 November 2011 01:15:19AM *  0 points [-]

Yeah, which means if I'm trying to maximize my payout, I'll set N arbitrarily large and abort the game at sufficient evidence that the coin isn't predictable enough for the game to have positive expected value. If the coin is predictable enough, then I'll pump my friend for every last cent he has.

However, note that the problem as stated asks for the minimum value of N so that the game has positive expected value. (I'm not too sure why we're interested in this except as an exercise).

edit: just clarifying for others. Not that I think you misunderstood.