Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > General Gambling > Probability

Notices

Probability Discussions of probability theory

Reply
 
Thread Tools Display Modes
Old 05-31-2012, 10:08 AM   #1
old hand
 
Okerchamp's Avatar
 
Join Date: Aug 2009
Location: in a deepstacked game
Posts: 1,986
Probability dices

Hi, two questions for the math guys:

what is the possibility of hitting 5 6's in a row with a dice?

and

if I roll the dice 10.000 times, what is the chance that I will hit 5 6's in a row once?

Thanks
Okerchamp is offline   Reply With Quote
Old 05-31-2012, 02:23 PM   #2
Carpal \'Tunnel
 
Sherman's Avatar
 
Join Date: Jun 2005
Location: Psychology Department
Posts: 7,422
Re: Probability dices

If you start right now and say, "I will roll 5 sixes in a row on a 6-sided fair die" the probability is 1/6^5 or 1/6 * 1/6 * 1/6 * 1/6 * 1/6 = .000129.

The second question is a bit harder and I believe it requires a streak calculator to solve. BruceZ has dedicated quite some time to correcting problems with a variety of inaccurate streak calculators and has made his own.


edit: In a real quick simulation that I did not double check I found that 65.17% of the time (out of 10,000 trials) if you rolled a die 10,000 times you would find a string of 5 or more "sixes" in a row.
Sherman is offline   Reply With Quote
Old 05-31-2012, 02:59 PM   #3
Carpal \'Tunnel
 
BruceZ's Avatar
 
Join Date: Sep 2002
Posts: 8,888
Re: Probability dices

Quote:
Originally Posted by Sherman View Post
The second question is a bit harder and I believe it requires a streak calculator to solve. BruceZ has dedicated quite some time to correcting problems with a variety of inaccurate streak calculators and has made his own.
This one is accurate:

http://www.pulcinientertainment.com/...tor-enter.html

and it gives 65.8% for at least one run of at least 5 sixes in a row out of 10,000 rolls. To get that, enter 10000, 5, and 0.16666667 in the first 3 boxes.

That's based on the recursive equation:

p(n) = p(n-1) + [1 - p(n-6)]*(5/6)*(1/6)5 for n > 6

p(n) = 0 for n < 5

p(5) = (1/6)5

p(6) = (5/6)*(1/6)5

where p(n) is the probability of having gotten a run of at least 5 in a row in n rolls, so we want p(10,000).

It is also possible to approximate this very closely by hand, but the above gives the exact answer.

You can download a fancier streak calculator here that runs in Excel and also gives the probabilities for multiple streaks.
BruceZ is offline   Reply With Quote
Old 05-31-2012, 03:29 PM   #4
old hand
 
Okerchamp's Avatar
 
Join Date: Aug 2009
Location: in a deepstacked game
Posts: 1,986
Re: Probability dices

Thanks!!

so if there is 1/10000 chance that you will win. then there is only like 60% you will win it the first 10000 tries?

but over lets say 1000k tries you will win it close to 100 times?
Okerchamp is offline   Reply With Quote
Old 05-31-2012, 04:39 PM   #5
Carpal \'Tunnel
 
BruceZ's Avatar
 
Join Date: Sep 2002
Posts: 8,888
Re: Probability dices

Quote:
Originally Posted by Okerchamp View Post
Thanks!!

so if there is 1/10000 chance that you will win. then there is only like 60% you will win it the first 10000 tries?
Correct, if your chance of winning is 1/n on one try, then the chance of winning at least once in n independent tries will be close to 1 - 1/e =~ 63.2% for large n. That's assuming that the tries are independent. We don't have 10,000 independent tries for the dice rolls. If we define a try as any 5 consecutive rolls, then these aren't independent since getting 5 in a row on say the 5th roll makes it much more likely that we get 5 in a row on the 6th roll too. There would also only be 9996 of these tries since rolls 1-4 can't produce 5 in a row. We can define a try differently so that a try ends with a non-six or 5 consecutive sixes. These tries are independent, but then the number of tries would be much less than 10,000 because the length of a try can be anything from 1 to 5, not just 1, and it won't always be the same. The average length of a try in that case would be about 1.2 rolls, and the average number of independent tries would be about 10000/1.2 or 8334 rolls, but this actual number of tries will vary. Nevertheless, this is the basis for a very accurate approximation:

1 - (1 - 1/6^5)8334 =~ 65.8%

in agreement with the streak calculator.


Quote:
but over lets say 1000k tries you will win it close to 100 times?
If something happens 1 time in 10,000 tries on average, then it will happen 100 times in a million tries on average. That is true even if the tries are not independent. But with the dice problem, a "try" is not the same as a roll. If we define a try as above, a try can be anywhere from 1 to 5 rolls, and on average it would be 1.2 rolls. You get 5 in a row on average once every 6^5 = 7776 tries, and this would be about 7776*1.2 = 9330 rolls. So in a million rolls, 5 in a row would occur on on average about 1000000/9330 =~ 107 times.
BruceZ is offline   Reply With Quote
Old 05-31-2012, 04:40 PM   #6
veteran
 
Join Date: Mar 2009
Location: In the wires
Posts: 2,257
Re: Probability dices

Quote:
Originally Posted by Okerchamp View Post
Thanks!!

so if there is 1/10000 chance that you will win. then there is only like 60% you will win it the first 10000 tries?
I believe that percentage approaches 1 - 1/e as N gets large. That is, for any P=1/N then in N trials where N is large, the chance to hit is 1 - 1/e. Which is ~63.2%


EDIT: type too slow for Bruce.
NewOldGuy is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 05:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive