Binomial Distribution
The Binomial distribution models the total number of "Successes" in a fixed number of independent Bernoulli trials.
If you take a Bernoulli experiment (like flipping a coin) and repeat it times, and count up the total number of successes, you get a Binomial distribution.
Core Concepts
If a random variable follows a Binomial distribution, we write:
Where:
- is the total number of identical, independent trials.
- is the probability of success on any single trial.
Probability Mass Function (PMF)
The probability of observing exactly successes out of trials is given by:
Let's break down this formula:
- : The "Binomial Coefficient" (read as " choose "). It calculates the number of different ways you can arrange successes within trials.
- : The probability of getting exactly successes.
- : The probability of getting failures.
Key Metrics
- Expected Value (Mean):
- (Intuition: If you flip a coin 100 times, and the chance of heads is 0.5, you expect heads).
- Variance:
Real-World Examples
- E-commerce Conversion: Out of 500 visitors to a website (), if the conversion rate is 2% (), what is the probability that exactly 15 people buy something?
- Manufacturing: In a batch of 1000 computer chips, where the defect rate is 0.1%, how many defects do we expect to find?
Interactive Visualization
Watch the magic happen! Use the sliders below to explore how the shape of the Binomial distribution changes.
- Notice the Central Limit Theorem: If you keep and slide all the way up to , watch the discrete bars perfectly form the shape of a continuous Normal bell curve!
- Notice Skewness: Set and . The distribution is heavily right-skewed. But as you increase , it will slowly become symmetrical again.
Binomial Distribution
Number of successes in n independent trials (each success with probability p).
Test Your Knowledge
Example: Binomial Probabilities
A manufacturing process produces defective parts 10% of the time (). If you randomly inspect 5 parts (), what is the probability of finding exactly 2 defective parts?
View Step-by-Step Solution
This is a Binomial setting. We use the formula:
There is a 7.29% chance of finding exactly 2 defective parts.