2

Tossing a fair coin is i.i.d. Let's assume that I have that:

Coin = {H,H,H,T,T}

How would you guess the next coin and why?

PS: I looked for Bernoulli Distribution but couldn't find a logical answer.

kamaci
  • 571
  • 4
  • 9
  • 27

5 Answers5

4

Since it is i.i.d., the future result will not depend on the past (see also a question on exchangeability here). Since the coin is fair, the probability to land head or tail is the same, $p=0.5$. As a consequence, if you predict head, the probability you get the prize is $0.5$. Same if you predict tail.

A whole answer on how you can(not) load a coin.

Update

While reading a recent entry in Larry Wasserman's blog I saw there a reference to a topic which would be relevant here, but I was totally unaware of. It is the online (sequential) learning and you can read more about again on Wasserman's blog.

Zag
  • 361
  • 1
  • 4
  • This comment may seem nitpicking and perhaps too subtle for the present question, but it gets to an important conceptual distinction: there are more possible procedures than just predicting "heads" or predicting "tails." (For instance, a really strong answer would take care of a common misconception that after a run of tails, a heads is "sure" to come soon; such a procedure is a *contingent* guess based on historical data.) In this sense, your argument--although correct--is logically incomplete. – whuber Nov 27 '12 at 22:41
  • Hi @whuber. Actually, with my answer I wanted exactly to address this misconception, that's why I stated, probably too quickly, _the future will not depend on the past_. What would you suggest to make it stronger and more complete? What other possible procedures are you referring to? – Zag Nov 28 '12 at 11:18
  • Take for instance, the misconception I described. Such a person might use a procedure that says "predict the opposite of what most recently occurred." Or consider Peter Flom's suggestion of predicting that the next coin toss will match the most frequent historical outcome. In addition to these "deterministic" procedures, there are randomized procedures, such as flipping an auxiliary (perhaps biased) coin to make the prediction. All of these differ from the two procedures you name--but in the fair i.i.d situation, it's easy to prove they do no better than your procedures. – whuber Nov 28 '12 at 16:39
3

In any type of classification or prediction, one should be aware of the costs different types of wrong answers and the benefits of different types of right answers. For instance, sometimes true positives are more valuable than true negatives, false positives might be more costly than false negatives, etc. This can lead to some interesting results and can be explored by considering the confusion matrix and an associated cost matrix and/or loss function.

However, things seem much simpler in this specific case. From the comments:

I just want to guess next one. If I can not guess correctly nothing happens, if I guess correct I will get prize.

This simplifies matters and no exotic cost matrix or anything of the sort is required. If the only thing that matters is accuracy (right answer or wrong answer), then one can simply guess the most likely answer. By definition of a fair coin, each side has a probability of $\frac{1}{2}$. So if you are forced to choose between the two, go with whatever tie-breaking strategy you feel comfortable with; either choice is as good as the other.

Note that this might change a bit if you do not start with the assumption that the coin is fair (are you sure this is valid?). Without that assumption, one might wonder whether one side is intrinsically more likely than the other. One might further wonder whether results are independent of past results, etc. However, in the scenario as described, it doesn't' really matter what you pick.

Michael McGowan
  • 4,561
  • 3
  • 31
  • 46
2

There is a series of papers in 'The Mathematical Scientist' that look at prediction of Bernoulli outcomes like this in cases where the mechanism is designed to be fair (i.e., IID with fixed probability = 1/2) but there is a possibility of bias. The basic idea is that if you believe the observable outcomes to be exchangeable, and you believe the bias to be exchangeable in direction, then you should predict whatever came up the most (the 'frequent outcome approach'). The papers are:

O'Neill (2015) Further results in binomial prediction. The Mathematical Scientist 40(1), pp. 13-22.

O'Neill (2012) Binomial prediction using the frequent outcome approach. The Mathematical Scientist 37(2), pp. 106-121.

O'Neill and Puza (2005) In defence of the reverse gambler's belief. The Mathematical Scientist 30(2), pp. 1-15.

Ben
  • 91,027
  • 3
  • 150
  • 376
1

If you know that it's a fair coin with i.i.d tosses then it doesn't matter which way you guess - that is one way of saying what "fair" means - and coins have no memory - that's one way of saying what i.i.d. means.

If, on the other hand, you are just told that it's a coin with i.i.d. tosses, then I'd guess heads because the evidence (slight as it is) is that heads are favored.

On yet the other hand, if you are told that it is fair but NOT i.i.d. (not sure how you could rig such a coin, but maybe there is a way) I'd guess tails because then the coin would somehow have a memory.

And if the coin was tossed by an expert at slight of hand magic, I wouldn't bet at all!

Peter Flom
  • 94,055
  • 35
  • 143
  • 276
  • 3
    One way to "rig" such a coin: Flip it once. Then just keep repeating the outcome you got on that flip *ad infinitum*. From this, it's simple to come up with many variations. – cardinal Nov 27 '12 at 20:22
-1

I have a literal answer, sorry......

You guys are way way smarter than I, but I am certain that all of you would also like to know the true way of consistently predicting a coin toss anway.

Having said that I rarely if ever lose a coin toss- No tricks (per say) Regardless of whom flips it.

First off, the coin isn't fair - it doesn't weigh the same on both sides and the weight isn't equally distributed across either face. The flipper is also biased- (I favor flipping while tails is up) and sometimes switch between catching over hand or underhand depending on what the other person calls. Not to mention the coin position pre-flip, finger to coin ratio preferences, the friction rate between the finger nail and the coin's surface, the horizontal orientation of the coin, thumb to forefinger resistantance etc... So flipping a coin is not static- force, speed, quantity and angle of rotations, height, atmospheric changes and a bunch of other variables that I am certain you can come up with will all affect the outcome; is the coin called pre-flip? Mid-Flip? Personally I like a lot of height, speed and making the "ting" noise. I prefer flipping right handed, catching the coin overhand, and then slapping the coin on the top of my other hand. The higher it goes the easier it is to predict- again no tricks...

A few other variables to consider; Is the coin caught underhand or overhand, does it land on the ground? Does it bounce off the ground? This affects the final outcome as well as you can get a "false" heads/tails. Statistics are also on the side of the person flipping who "wills" it to be heads or tails.

For my prediction control test, call it in the air, use the underhand catching method and don't "slap" the coin on the top of the other hand (this actually flips the coin again). Once you flip focus on the coin- there will be a predominating image in favor of heads or tails while in flight. If you see heads it will land heads up on the palm of your hand- if you consistantly see heads and get tails- call tails....etc

It takes a little practice but its super easy, I have gotten over thirty in a row right before being wrong and that's because I lose interest and stop paying attention. (or catch it poorly).

You can use the same principles when watching someone else flip- depending on their "style" you may have to call heads when you actually saw a tails image in flight to accurately get a heads.

jason
  • 1
  • 3
    This answer sounds highly introspective to me, and it offers kind of a recipe derived from observed physical properties (causes or consequences). Could you link the aforementioned facts to a precise mathematical model? – chl Feb 20 '13 at 12:26
  • It may also be helpful to understand that people usually use coin flips only as a *conceptual model* for understanding far more important problems, like estimating the chance of a surgery or Mars mission succeeding. Discussions of the *physics* of tosses of actual coins, or of the psychology of detecting the outcomes of actual tosses, would likely be considered by the community to be off-topic here (but might find a home on related SE sites, such as physics or skeptics). – whuber Feb 20 '13 at 20:24