Binomial distribution
The binomial distribution describes the number of successes X in n independent trials with constant success probability p. Each trial has two possible outcomes: success or failure. The probability of exactly i successes is given by the Bernoulli formula.
Here n is the number of trials, i is the number of successes, p is the probability of success, q = 1 − p is the probability of failure, and C is the number of combinations of n objects taken i at a time.
To find the probability of a range of values, sum the probabilities of individual outcomes:
| Condition | Values to sum |
|---|---|
| P(X < k) | 0 to k − 1 |
| P(X ≤ k) | 0 to k |
| P(X = k) | Only k |
| P(X ≥ k) | k to n |
| P(X > k) | k + 1 to n |
A strict inequality excludes k, while a non-strict inequality includes it. If no values satisfy the condition, the probability is 0.
Calculation algorithm
- Identify n, p and k. Check that n ≥ 1, 0 ≤ k ≤ n and 0 ≤ p ≤ 1.
- Calculate the failure probability q = 1 − p.
- Choose the condition and identify the integer success counts that satisfy it.
- Calculate the probabilities using the Bernoulli formula and sum them over the selected values. For a single value, no summation is needed.