Binomial probability
From Wikipedia, the free encyclopedia
Binomial probability typically deals with the probability of several successive decisions, each of which has two possible outcomes.
Contents |
[edit] Definition
The probability of an event can be expressed as a binomial probability if its outcomes can be broken down into two probabilities p and q, where p and q are complementary (i.e. p + q = 1) For example, tossing a coin can be either heads or tails, each which have a (theoretical) probability of 0.5. Rolling a four on a six sided die can be expressed as the probability (1/6) of getting a 4 or the probability (5/6) of rolling something else.
[edit] Calculation
If an event has a probability, p, of happening, then the probability of it happening twice is p2, and in general pn for n successive trials. If we want to know the probability of rolling a die and getting two fours and one other number (in that specific order) it becomes:
However this is only sufficent for problems where the order is specific. If order is not important in the above example, then there are 3 ways that 2 rolls of four and 1 other could occur:
110
101
011
Where 1 represents a roll of four and 0 represents a non-four roll. Since there are 3 ways of achieving the same goal, so the probability is 3 times that of before, or 7.8%. If order doesn't matter, then there are (n choose r) possible configurations. This yields the general equation for binomial trials:
[edit] General equation
Where p is the probability of a success, and q is the probability of a failure (which is complimentary to p, that is q=1-p.) This is simply a rewording of the binomial theorem.
[edit] Example
On a ten question multiple choice test, with 4 options per question, the probability of getting 5 and only 5 answers correct if the answers are guessed can be calculated like so:
- p = 0.25
- q = 1 − p = 0.75
- k = 5
- n = 10
Therefore if somebody guesses 10 answers on a multiple choice test with 4 options, they have about a 5.8% chance of getting 5 and only 5 correct answers. If 5 or more correct answers are needed to pass, then the probability of passing can be calculated by adding the probability of getting 5 (and only 5) answers correct, 6 (and only 6) answers correct, and so on up to 10 answers correct. This total probability is approximately 7.8%.
[edit] Estimation
There are various methods at estimating the binomial probability if the exponents are too large to calculate
[edit] Binomial approximation
One method is by approximating the probability to a binomial distribution. The requirements are that and for an accurate answer. Approximation is done with the following equation:
Where μ = np and (the standard deviation of the binomial approximation) and z is the corresponding z-score
[edit] Poisson probability function
Another possible method is approximating to a poisson distribution. The requirements are that and that np and npq are within 10% of eachother. The formula is
where λ = np.
[edit] Connection to binomial theorem
The equation for binomial probability is the same as the binomial theorem equation, which can be used to calculate terms in Pascal's triangle and the expansion of binomial equations of the form (a + b)n. So, if the binomial is expanded for n = 2, we get
Rewriting the equation in a trivial way:
- 1aa + 2ab + 1bb
If a represents heads and b tails, then the above shows all the possibilities and the number of possible combinations. That is, there is one way to get two heads (aa), two ways to get a head and a tail (2ab) and one way to get two tails (bb) This applies for any degree of n. Since the sum of the coefficents in the equation (a0 + a1 + a2) is the total possibilities, and since each unique case has the same probability, the probability of getting 1 occurrence of a and 1 of b (1 head and 1 tail on a coin) is 2 out of 4, or 0.5. The sum of coefficents for any binomial is 2n − 1.
[edit] See also
- Probability
- Binomial theorem
- Pascal's triangle
- Complementary event
- Binomial distribution
- Poisson distribution