Showing posts with label Probability theory. Show all posts
Showing posts with label Probability theory. Show all posts

Monday, January 16, 2012

Information Highway: Binomial Coefficient

Last time I was trying to explain hypergeometric distribution (describing probability of k successes in n draws from a finite population without replacement). Maybe that was bit too steep to start this series of mathematical topics, so I will take one step back and talk about combinations, and the binomial coefficient.

In mathematics a combination is a way of selecting several things out of a larger group where (unlike permutations) order does not matter. Combinations can refer to the combination of n things taken k at a time with or without repetitions. In this article we are only looking at combinations without repetitions. For any set S containing n elements, the number of distinct k-element subsets of it that can be formed (the so-called k-combinations of its elements) is given by the binomial coefficient.

In smaller cases it is possible to count the number of combinations. For example, take a look at a set of the first for integer number (1,2,3,4) and subsets consisting of two (different) members of this set. You can make 6 subsets of 2 numbers: (1;2), (1;3), (1;4), (2;3), (2;4), (3;4). For larger sets this explicit enumeration can become very tedious.

The formula for the binomial coefficient (or short binom) is given (for 0 ≤ k ≤ n) as:

Thursday, January 5, 2012

Information Highway: Hypergeometric Distribution

From a theoretical point of view one of the most interesting question in VtES is about card drawing probabilities. That is, how probable is it (for example) to draw one of our 2 Information Highways in our opening hand of 7 cards (and deck of 75 cards). The thing you need to answer this type of question is called a hypergeometric distribution (function).

In probability theory and statistics, the hypergeometric distribution is a discrete probability distribution that describes the probability of (exactly) k successes in n draws from a finite population (of size N) without replacement.(1)

Above you see the mathematical formula for the hypergeometric distribution (i.e. the probability mass function), where
  • N is the population size
  • m is the number of potential successes in the population
  • n is the number of draws
  • k is the number of successes
You can see that this generalization is easily adapted to an (trading) card game:
  • N is the size of deck
  • m is number of cards I want to draw
  • n is the number of draws (the number of cards of our opening hand)
  • k is the number of cards I want to draw
If we continue the example from above, then N=75 (the decksize), m=2 (the number of Information Highways in our deck), n=7 (the number of draws = our initial handsize), and k=1 ( the number of cards we want to draw initially).

Wednesday, February 11, 2009

Information Highway: Crypt Probabilities

These are the basic probabilities for drawing at least one copy of a vampire in your starting crypt (of 4) given a number of that vampires in a crypt of 12:
  • 1 copy in a crypt of 12 -- 33.33%
  • 2 copies in a crypt of 12 -- 57.58%
  • 3 copies in a crypt of 12 -- 74.55%
  • 4 copies in a crypt of 12 -- 85.86%
  • 5 copies in a crypt of 12 -- 92.93%
  • 6 copies in a crypt of 12 -- 96.97%