The binomial distribution models the number of successes in multiple independent Bernoulli trials. So if :
- You repeat a Bernoulli experiment
ntimes - Each trial has a success probability
- And you want to know: how many successes (like black balls, heads, correct answer etc.) you get out of those
ntrials
Notation:
We write:
- : number of successes in trials
- : number of trails
- : probability of success in each trial
Probability Mass Function (PMF) :
Where:
- : number of successes.
- : “n choose k” = number of ways to choose successes out of trials.
Key Properties:
- Mean :
- Variance :
Real-life example:
You flip a coin 10 times (so = 10), and the probability of heads is = 0.6. What’s the probability of getting exactly 7 heads ?
Where:
- (the number of trials),
- (the number of successes — in this case, heads),
- (probability of heads),
- (probability of tails).