Coin Flipping Probabilities - Does this sound right to you?

Towlie

ancillary character
Joined
May 22, 2009
Messages
1,474
I just now came upon a reference in the latest issue of Crypto-Gram to this article by a blogger named James Devlin. It's an interesting discussion of a paper titled Dynamical Bias in the Coin Toss.

There's one particular point in this article that bothers me and that I'd like to discuss here. I haven't yet looked at the paper itself, but James Devlin says this, parts of which may or may not be supported by the paper:

Here are the broad strokes of their research:

1. If the coin is tossed and caught, it has about a 51% chance of landing on the same face it was launched. (If it starts out as heads, there's a 51% chance it will end as heads).

(Premises 2 - 7 omitted.)

The 51% figure in Premise 1 is a bit curious and, when I first saw it, I assumed it was a minor bias introduced by the fact that the "heads" side of the coin has more decoration than the "tails" side, making it heavier. But it turns out that this sort of imbalance has virtually no effect unless you spin the coin on its edge, in which case you'll see a huge bias. The reason a typical coin toss is 51-49 and not 50-50 has nothing to do with the asymmetry of the coin and everything to do with the aggregate amount of time the coin spends in each state, as it flips through space.

A good way of thinking about this is by looking at the ratio of odd numbers to even numbers when you start counting from 1.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

No matter how long you count, you'll find that at any given point, one of two things will be true:

* You've touched more odd numbers than even numbers
* You've touched an equal amount of odd numbers and even numbers

What will never happen, is this:

* You've touched more even numbers than odd numbers.

Similarly, consider a coin, launched in the "heads" position, flipping heads over tails through the ether:

H T H T H T H T H T H T H T H T H T H T H T H T H

At any given point in time, either the coin will have spent equal time in the Heads and Tails states, or it will have spent more time in the Heads state. In the aggregate, it's slightly more likely that the coin shows Heads at a given point in time—including whatever time the coin is caught. And vice-versa if you start the coin-flip from the Tails position.

Does that sound right to you? If there is such a bias, is that a correct explanation for it?

Most people catch a flipped coin and then slap it down on the back of their wrist. In that case, does that mean that there's a 51% chance of the coin landing on the opposite face of the one it was launched from?

When I get time, I'd like to try writing a computer simulation to test what James Devlin says. Meanwhile, what do you folks think about this?
 
The solution, obviously, for a fair toss, is to snatch the coin out of the air with a sideways grab before slapping onto the back of the other hand.
 
Does that sound right to you? If there is such a bias, is that a correct explanation for it?

That's not a bias; the quantity you're finding a bias in ("the number of times the coin passes through its initial state, over its whole trajectory") is not the same as the number you actually measure in a coin flip ("the state at some random time T after the flip when I grab/catch the coin").

You can make those probabilites agree if you flip the coin in a very unusual way: by choosing T in an entirely flat distribution between T=0 (coin hasn't flipped yet) and some later time. That's not what you do in a real coin toss; I suspect that you grab in some window between T=1 second and T=1.5 seconds, or something, and there's no clear bias in that statistic.

Look at it another way: suppose that, rather than counting from 1, you count from 2---that's like letting the coin take one full flip before allowing yourself to even think about catching it. Now there's a bias towards even numbers, of the same size as the previous "bias" towards odd numbers---based on the apparently-meaningless decision not to catch the coin at a moment when you would never have caught the coin anyway. That should tell you that neither bias is really there.
 
Does that sound right to you? If there is such a bias, is that a correct explanation for it?

It doesn't sound right to me. I agree with ben m's explanation of why not, which occurred to me as well, even before I read his post.

Most people catch a flipped coin and then slap it down on the back of their wrist. In that case, does that mean that there's a 51% chance of the coin landing on the opposite face of the one it was launched from?

Sure. If one side has, for whatever reason, a 51% chance, the other side must have a 49% chance.

When I get time, I'd like to try writing a computer simulation to test what James Devlin says. Meanwhile, what do you folks think about this?

I think that a simulation of lots of tosses, using pseudo-random numbers, isn't very efficient. You'll need to choose a probability distribution for when the coin lands (i.e., how likely is it to land after half a twist in the air, how likely after one full twist, how likely after a twist and a half, etc.), and once you have that, you can compute the exact probability of heads without simulating any tosses at all -- just add up all the probabilities for integer numbers of twists (or integer + 1/2, depending on whether heads or tails faced up to begin with).
 
I am assuming that the author is not saying that a coin has 'memory' - it sounds like he's saying that the mechanical process of flipping contains a slight bias toward repeating the previous outcome.

Sounds plausible.

I doubt it's related to differential weight of the coin.

Sort of like knife throwing: throw a knife ten times, and it'll hit the wall the same way because that's the way you're throwing it. The spin is more consistent than it is randomizing.
 
I assume it is the consistency of tossing AND consistency of catching.

Seems to me from my back-yard knife throwing, that each knife has a set rotational speed. Has to do with 'balance'. So, actually, there ought to be a vary plausible way for someone to learn to toss a coin and get up-face lots more than 50%. Just like a knife thrower gets the knife to stick very regularly. The way I threw, I believe it mad 1/2 turn every two feet. So if I stepped back two feet, I would reverse the knife in my hand. You would need to learn that for a coin. Same 'toss' to same height, same catch. Somebody with exceptional dexterity ought to be able to improve on 50%.... start by building a machine, just to prove the concept ?
 
If you're worried about generating good random numbers from a biased coin toss, use the following procedure: toss a coin *twice*. There are four possible results: HH, TT, HT, and TH. Then follow these rules:

If it's HH, repeat the two tosses.
If it's TT, repeat the two tosses.
If it's HT, interpret that as a "win"
If it's TH, interpret that as a "loss".

That win/lose distribution should be 50-50, regardless of how unfairly weighted the coin is. (The worst that can happen, if the raw coin flips are, say, 90% H 10% T, is that you waste a lot of time discarding and repeating multiple HH results.)

I forget what this is called, but I thought it was neat when I first learned about it.
 
Absolute nonsense.

Consider a 3 sided coin. Use the same logic in the blog:

When you start the flip, it is on face 1. Then 2. Then 3.

1 2 3 1 2 3 1 2 3 1 2 3 1 2 3

The only time that 1,2, and 3 have the same odds is when the 3rd face is up. Otherwise, their count is higher. Thus faces 1 and 2 should have higher odds than the third face. Furthermore, face 1 has an advantage over face 2, so it's odds will be higher. Thus 1 will show up most often, then 2, then finally 3.

Sorry, it just doesn't work that way.

edit: if this is not clear, consider this alternative method of computing the odds:

You flip a coin and catch it. The coin flips N times before being caught, where N is a random number. If N is even, the coin lands on the same face that started, if N is odd, it lands on the opposite face. Since N is random, odd and even is evenly distributed. (we could quibble that you never catch it on flip one or two, but that doesn't change the math. It's still random even if the lower limit is greater than one).
 
Last edited:
He assumes a coin has a memory of how many times it was on one side versus another.

Most of the time it will never be quite exactly 50/50. But, which side gets slightly more has nothing to do with which side came up first.
 
Now, I only basing this my failing memory and I leave it to someone else to do the research but it strikes me from the OP that if the distance the coin is falling is constant there might just be something to the claim.

Some years ago ISTR there was an article in Scientific American about the myth (theory) that a slice of bread alway falls jam side down. The research did show that by varying the distance it fell the slice would preferentially land jam-side-down or jam-side-up. I forget whether there was some sort of "natural frequency of rotation" involved.

Maybe, under certain conditions, this would apply to coins as well?

YMMV & etc. :)
 
Now, I only basing this my failing memory and I leave it to someone else to do the research but it strikes me from the OP that if the distance the coin is falling is constant there might just be something to the claim.

Some years ago ISTR there was an article in Scientific American about the myth (theory) that a slice of bread alway falls jam side down. The research did show that by varying the distance it fell the slice would preferentially land jam-side-down or jam-side-up. I forget whether there was some sort of "natural frequency of rotation" involved.

Maybe, under certain conditions, this would apply to coins as well?

YMMV & etc. :)
But this assumes that the amount of time bread takes to hit the floor is consistent and approximately the same as the amount of time it takes for the bread to turn 180 degrees. In the case of the coin it turns many times before it lands and both the rate of turn and the height the coin drops varies. Unless the initial impulse, height, etc is very consistent there would be no bias. The bias could be to either heads or tails depending on minor differences in the initial conditions.
 
I think the paper is correct based on a quick reading of the first few pages (and the fact that at least one of the authors is an extremely good mathematician and a former magician). But the argument made in the paper bears zero resemblance to the argument in the blog quoted in the OP.

Here's the argument made in the paper. When you flip a coin you impart some angular momentum to it. Consider two cases:

(1) you flip the coin so it spins around a horizontal axis

(2) you flip it so it spins like a tossed pizza

In case (1) the angular momentum vector (that's the axis it spins around) is perpendicular to the vertical, in case (2) it's parallel.

What they find is that case (1) is unbiased in the limit the coin has time to flip many times, and in case (2) the result is completely biased (because the coin doesn't flip at all).

What about cases in between? Not surprisingly, they're in between those two cases, in other words the coin is biased a bit. After observing some actual coin flips to get some data, they conclude the flip is biased at about 51%.

Sounds right to me.
 
But this assumes that the amount of time bread takes to hit the floor is consistent and approximately the same as the amount of time it takes for the bread to turn 180 degrees. In the case of the coin it turns many times before it lands and both the rate of turn and the height the coin drops varies. Unless the initial impulse, height, etc is very consistent there would be no bias. The bias could be to either heads or tails depending on minor differences in the initial conditions.

One could argue (not that I would of course) that the very appearance of the words "assumes", "consistent", "approximately", "varies" and "minor differences" could very well result in a small bias of 51% in the results. In the case of the jammed bread, with all factors under control the bias was, ISTR, 100%. ;)
 
One could argue (not that I would of course) that the very appearance of the words "assumes", "consistent", "approximately", "varies" and "minor differences" could very well result in a small bias of 51% in the results. In the case of the jammed bread, with all factors under control the bias was, ISTR, 100%. ;)

That could easily be tested by flipping a blank with different colored sides.
 
A trained person can make it come up whatever side they want. Any practiced amateur can make a coin come up the same side with an extremely high probability.

Just takes practice.
 
I have found that I can usually predict what side the coin will land based on what side is up when I begin the toss. Not 100% reliably, but certainly better than chance alone.

Of course, I have never done any actual study of this.
 

ISF - Join now!

Every member here is approved by hand. No bots, no spam, just people who care about evidence and honest debate.

Membership is free!

Create your free account

Back
Top Bottom