Binomial Probability
The Binomial Distribution describes the probability of having exactly k successes in n independent yes/no experiments, where the probability of success p is the same for every trial.
The Formula
The exact probability of exactly k successes is given by the binomial probability mass function (PMF):
- n: Number of Trials (e.g., flipping a coin 10 times).
- p: Probability of Success on a single trial (e.g., 0.5 for heads).
- k: Target Number of Successes (e.g., exactly 4 heads).
- ⁿCₖ: "n choose k", the binomial coefficient representing the number of ways to arrange the successes.
Cumulative Probabilities
Often, you don't just want the probability of exactly k successes, but rather the probability of answering questions like "What are the odds of getting at least 7 heads?" or "at most 2 defects?".
- P(X ≤ k): Cumulative probability of getting k or fewer successes.
- P(X ≥ k): Cumulative probability of getting k or more successes.