Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: April 25, 2024, 10:35 am

Poll: On average, which pattern takes fewer coin tosses?
This poll is closed.
They'll happen equally fast, on average.
78.57%
11 78.57%
Tails, Heads, Tails takes fewer tosses.
0%
0 0%
Tails, Heads, Heads takes fewer tosses.
14.29%
2 14.29%
I can't figure it out.
7.14%
1 7.14%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coin Flipping Poll
#11
RE: Coin Flipping Poll
(April 16, 2010 at 8:19 pm)pack3tg0st Wrote: statistically, there isn't a difference.


Yes.


The chance on every toss is 50/50. With a large sample the results will be even. There are no real patterns.

That comes from Business Statistics, which I did in 1972. I might have misremembered.
Reply
#12
RE: Coin Flipping Poll



Thinking

Oh... well now I feel like a moron...

But then: I always feel like that! Blush
The question wasn't "which sequence done once takes fewer" (that would be 50/50).

It is "which is statistically more common should this continue?"

I have now learned to recognize the difference... : o I have learned something this otherwise blissfully ignorant day >_<
Please give me a home where cloud buffalo roam
Where the dear and the strangers can play
Where sometimes is heard a discouraging word
But the skies are not stormy all day
Reply
#13
RE: Coin Flipping Poll
Well, 14 of you voted. 11 got it wrong, and only 2 got it right (with 1 person not wanting to guess).

The answer is actually that Tails, Heads, Heads comes up with fewer tosses on average. The reasoning is quite easy, but first you need to understand what the question is asking. The question wasn't "Which result requires fewer tosses if you only have 3 tosses" as some people seem to have thought. In that case, the 11 would be correct. If you have only 3 tosses, then all combinations of the 3 tosses (HHH, HHT, HTH, HTT, THH, THT, TTH, TTT) are equally likely of coming up, so THH and THT both have an equal chance (1/8th) of coming up.

However, the question was asking on average, which pattern took the fewest tosses to appear. That means, that if you toss three coins and get HTH, you haven't got either pattern yet and must continue flipping. The same goes for the other 5 patterns that don't equal either THH or THT.

Since we are moving from left to right, we should be able to deduce that both patterns start with TH. This is the common factor between them, and it turns out to be very important. To answer the question, it is necessary to see what happens when each pattern is struck with failure.

If we assume that the first and second coins flipped were T and H respectively, then both patterns have 2/3 completion. Something statistically significant happens on the next flip though:

If the third flip is a H, then the THH pattern has been found, and we have to flip at least 3 more times to get a THT pattern.
If the third flip is a T, then the THT pattern has been found, and we have to flip at least 2 more times to get a THH pattern.

The THH pattern has a better chance of coming up because it doesn't overlap itself. A failure for the THT pattern means you have to start all over again, whilst a failure for the THH pattern means you already have the first T and so only need two more flips.

In order to show this in an objective way, I wrote a piece of code: http://pastebin.com/cjkeMnhg

It plays the game 10,000 times (to get a nice sample size), each time flipping 3 coins to start, and then continually flipping until both patterns are found. The average for each pattern is averaged and displayed as the result:

Program Output Wrote:THH found after an average of 8.0015 (~8) flips.
THT found after an average of 10.0362 (~10) flips.

It doesn't stop there though. You can try it with other patterns, and it doesn't matter how big your patterns get, a T followed by a string of H will always come up with fewer tosses on average than the same length alternating pattern:

Program Output Wrote:THHH found after an average of 16.035 (~16) flips.
THTH found after an average of 20.0729 (~20) flips.

THHHH found after an average of 31.6734 (~32) flips.
THTHT found after an average of 41.9732 (~42) flips.

THHHHH found after an average of 62.9272 (~63) flips.
THTHTH found after an average of 82.5089 (~83) flips.

THHHHHH found after an average of 129.6385 (~130) flips.
THTHTHT found after an average of 169.5909 (~170) flips.

Statistics is fun! Points go to Paul the Human for the correct answer, and double points go to Zhalentine for posting a solution Big Grin

Better luck next time everyone else!
Reply
#14
RE: Coin Flipping Poll
WoO!

*collects his winnings*

Which way is the Blackjack table?
Reply
#15
RE: Coin Flipping Poll
1 minus point to Adrian for swearing in the post title. Gilligan will be along shortly to issue you with your 'threat'.
Reply
#16
RE: Coin Flipping Poll
(April 17, 2010 at 11:18 am)fr0d0 Wrote: 1 minus point to Adrian for swearing in the post title. Gilligan will be along shortly to issue you with your 'threat'.

Fuck fuck fuckity fuck.

Can I be threatened too now? Smile
Please give me a home where cloud buffalo roam
Where the dear and the strangers can play
Where sometimes is heard a discouraging word
But the skies are not stormy all day
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Poll: You're in the Prisoner's Dilemma. shadow 35 3976 November 25, 2017 at 5:13 pm
Last Post: vorlon13
  Unfair Coin Flip Tiberius 103 9793 September 30, 2017 at 6:56 pm
Last Post: Brian37
  Bit flipping SteelCurtain 41 9015 April 26, 2016 at 9:55 am
Last Post: pocaracas
  The "classic" counterfiet coin puzzle jvwert 18 8709 December 7, 2010 at 12:08 am
Last Post: Rhizomorph13



Users browsing this thread: 1 Guest(s)