Binomial Distribution
- is the number of successes in a sequence ofย ๐ independent Bernoulli trials
- its parameters are:
- ๐ย -ย the number of trials
- ๐ย -ย the probability of success on each trial
- sampling ๐ trials WITH REPLACEMENT (as oppose to hypergeometric distribution)
Binomial Distribution - 4 Conditions
- The experiment consists of ๐ identical trials.
- Each trial results in one of the two outcomes, called success and failure.
- The probability of success, denoted ๐, remains the same from trial to trial.
- The ๐ trials are independent.
Recognizing Binomial Variables
Click here to expand...
example
X = Binomial Variable?
why
in a game involving a standard deck of 52 playing cards, an individual randomly draws 7 cards without replacement.
let X = the number of aces drawn
NO
trials are not independent
60% of a certain species of tomato live after transplanting from pot to garden. Eli transplants 16 of these tomato plants. Assume that the plants live independently of each other
let X = the number of tomato plants that live
YES
fulfills all 4 conditions
in a game of luck, a turn consists of a player continuing to roll a pair of six-sided dice until they roll a double (2 same face values)
let X = the number of rolls in one turn
NO
number of trials is not fixed
Probability Mass Function
๐(๐=๐ฅ|๐) defines the probability of obtaining exactly ๐ฅ successes out of ๐ Bernoulli trialsย ๐1, โฆ, ๐๐, where ๐ is the probability of success for a Bernoulli trial (i.e. ๐(๐๐=1) = ๐)
- ๐(๐=๐ฅ;๐,๐) = [๐!/(๐ฅ!(๐-๐ฅ)!] * ๐๐ฅย * (1-๐)(๐-๐ฅ)
Click here to expand...
- ๐(๐=๐ฅ|๐) =ย [๐ย chooseย ๐ฅ] * prob-of-๐ฅ-success * prob-of-(๐-๐ฅ)-failures
- ๐(๐=๐ฅ|๐)ย =ย [๐ย chooseย ๐ฅ] *ย ๐(๐=1)๐ฅย *ย ๐(๐=0)(๐-๐ฅ)
- ๐(๐=๐ฅ|๐)ย = [๐ย chooseย ๐ฅ] *ย ๐๐ฅย * (1-๐)(๐-๐ฅ)
- ๐(๐=๐ฅ|๐)ย = [๐!/(๐ฅ!(๐-๐ฅ)!] *ย ๐๐ฅย * (1-๐)(๐-๐ฅ)
Cumulative Distribution Function
=ย ๐ผ๐(๐-๐ฅ, 1+๐ฅ)
where:
- ๐ผ is theย Regularized Incomplete Beta Function
- ๐ = 1 - ๐
Expectation
๐[๐] = ๐๐
Click here to expand...
The expectation of 1 Bernoulli Variable ๐with a probability of success ๐(๐=1) = ๐:
- ๐[๐] = ๐ด๐ฅโ๐[๐ฅยท๐(๐=๐ฅ)]
- ๐[๐] = (0)๐(๐๐=0) + (1)๐(๐๐=1)
- ๐[๐] = (0)(1โ๐) + (1)(๐)
- ๐[๐] = ๐
The expectation of ๐ Bernoulli Variables ๐1, โฆ,ย ๐๐ย (i.e. Binomial Variableย ๐):
- ๐[๐] = ๐[๐1+ย โฆย +ย ๐๐]
- ๐[๐] = ๐[๐1] + โฆ + ๐[๐๐]
- ๐[๐] = ๐ + โฆ + ๐
- ๐[๐] = ๐๐
Variance
๐๐๐(๐)ย =ย ๐๐(1-๐)
Click here to expand...
variance of 1 Bernoulli Variableย ๐๐with probability of success ๐(๐๐=1) =ย ๐
- ๐๐๐(๐๐) =ย ๐[(๐ฅ โ ๐[๐๐])2]
- ๐๐๐(๐๐) = ๐ด๐ฅโ๐๐[(๐ฅย โ ๐(๐๐))2๐(๐๐=๐ฅ)]
- ๐๐๐(๐๐) = ๐ด๐ฅโ๐๐[(๐ฅโ๐)2๐(๐๐=๐ฅ)]
- ๐๐๐(๐๐)ย =ย (0โ๐)2๐(๐๐=0) +ย (1โ๐)2๐(๐๐=1)
- ๐๐๐(๐๐)ย = (0โ๐)2(1โ๐) + (1โ๐)2๐
- ๐๐๐(๐๐)ย =ย ๐2(1โ๐) +ย (1โ๐)2๐
- ๐๐๐(๐๐)ย =ย (1โ๐)(๐2ย + (1โ๐)๐)
- ๐๐๐(๐๐)ย =ย (1โ๐)(๐2ย +ย ๐ย โย ๐2)
- ๐๐๐(๐๐)ย = (1โ๐)(๐)
- ๐๐๐(๐๐)ย =ย ๐(1โ๐)
variance ofย ๐ย Bernoulli Variablesย ๐1, โฆ,ย ๐๐ย (i.e. Binomial Variableย ๐):
- ๐๐๐(๐)ย =ย ๐๐๐(๐1+ย โฆย +ย ๐๐)
- ๐๐๐(๐)ย =ย ๐๐๐(๐1) +ย โฆย +ย ๐๐๐(๐๐)
- ๐๐๐(๐)ย =ย ๐(1โ๐) + โฆ +ย ๐(1โ๐)
- ๐๐๐(๐)ย =ย ๐๐(1-๐)
Moment-Generating Function
See:ย Moment-Generating Function - Binomial Distribution