*
*
Home
Help
Login
Register
Welcome, Guest. Please login or register.
March 05, 2014, 06:49:42 PM

Login with username, password and session length
Forum changes: Editing of posts has been turned off until further notice.
Search:     Advanced search
275647 Posts in 27717 Topics by 4283 Members Latest Member: - otto Most online today: 55 - most online ever: 429 (November 03, 2007, 04:35:43 AM)
Pages: 1 [2]
Print
Author Topic: Probability calculation  (Read 2768 times)
taalyn
Member

Posts: 370

Aidan Grey


« Reply #15 on: April 06, 2003, 04:44:20 AM »

So, I thought I made some progress:

Given:

   A balanced caern (equal number of motes of each color)
   m: number of motes of each color, number of target motes
   a: number of adjacent motes (=2m)
   c: number of motes in caern (=7m+3)
   h: hand, number of motes drawn from caern
   
 Then:

  X: number of possible ways to draw h motes from caern of c motes:            
             c!/(c-h)!h!
  number of ways to get x target motes: same formula - m!/(m-x)!x!
  Y: number of ways to get x target and y adjacent motes:
              m!a!/(m-x)!(a-y)!x!y!

So, to get probabilities of successes:
         sum the #s of ways for possible combinations (i.e. add the # of ways in which you can get 5 success with a hand of 4: ways for 5 asdjacent motes (A), 3A and 1 target (T), 1A2T).
         this sum, divided by number of possible ways of drawing 4 motes, should give the probability of drawing exactly 5 successes with a hand of 4.

   Or so I thought.

   Something's still wrong with the calculations - except for hands 1 or 2,
everything is apparently not possible. What am I doing wrong?

   Aidan
Logged

Aidan Grey

Crux Live the Abnatural
taalyn
Member

Posts: 370

Aidan Grey


« Reply #16 on: April 06, 2003, 09:05:02 PM »

so, I just did a brute force crunch - just ran 10 million draws, and calculated odds that way. It was much easier.

  Aidan
Logged

Aidan Grey

Crux Live the Abnatural
bladamson
Member

Posts: 40


WWW
« Reply #17 on: April 06, 2003, 10:05:16 PM »

hahahaha, yeah, it is most of the time. :)

Still useful to know at least the basis of the theory from the textbook though; helps you design and fix the mechanic, even if it's still easier to brute force the exact figures.
Logged

B. Lee Adamson, P.P., K.S.C.
Pages: 1 [2]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Oxygen design by Bloc
Valid XHTML 1.0! Valid CSS!