.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old December 27th, 2003, 10:28 PM
Kamog's Avatar

Kamog Kamog is offline
Lieutenant General
 
Join Date: Nov 2002
Posts: 2,903
Thanks: 1
Thanked 0 Times in 0 Posts
Kamog is on a distinguished road
Default Re: OT: Home Sick for the Holidays, or Probability and Yahtzee

OK, I did some more searching around and discovered that Excel can, in fact, do this calculation.

There is a handy pre-built function called BINOMDIST(number_s, trials, probability, cumulative).
Now this is easy.

The probability of getting 182 or more 6's in 1000 rolls is:
P = 1 - BINOMDIST(181, 1000, 1/6, TRUE)
P = 0.105008

I needed to subtract from 1 because the cumulative function adds from 0 to 181. To get the portion for 182 and above, we subtract from the whole (1) the part we don't want, the stuff at 181 and below.

OK, so there's about a 10.5% chance of getting 182 or more.

The probability of getting 326 or more 6's in 1000 rolls is:

P = 1 - BINOMDIST(325, 1000, 1/6, TRUE)
P = -0.5.08482E-14

Obviously there's something wrong. The answer can't be negative. I think Excel still can't handle this kind of big / small number.

Does anybody have a better program and/or calculation method that can do this? Or am I doing something wrong?
Reply With Quote
 

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 05:52 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.