Binomial Distribution
Interpretation
- boolean, success or failure
- getting heads or not
- being universal blood donor or not
- winning lotto or not
- needs to be independent
- if when one trial is done, the percentages change, its not independent and not a binomial
- X would have the hypergeometric distribution
- if when one trial is done, the percentages change, its not independent and not a binomial
- a distribution of the number of successes in n independent Bernoulli Trials
- or a sequence of bernoulli trials
A random variable
Probability Distribution Function
A random variable
for
where
represents the probability of a specific ordering of successes and failures represents number of ways it can happen
Mean
Variance
If
Using Chebyshev's Theorem we get the law of large numbers:
- if we repeat the trial for sufficient large number, the proportion of "success",
will be very close to
- can be approximated with the poisson distribution (which is a special case of the binomial)
- when
and - reasonable if
and
- reasonable if
- useful when we don't wanna deal with big factorials
- or if you dont know n and p, but know the mean
- when
examples
- 1
- fair dice rolled 10 times
- probability of three coming up exactly 2 times
-
- 2
- n = 3, we want p(X=2)
- pp(1-p) = p(1-p)p = (1-p)pp = p^2(1-p)
- p(X=2) = 3p^2(1-p)
- 3 = combination formula of (3 2)
- 3
- 25 babies, 20% chance of acne
- P of exactly one having acne
-
- = 0.0236....
- P that no more than 2 babies have acne?
- P(X<=2) = P(X = 0) + P(X = 1) + P(X = 2)
-
- = 0.0982
- P that at least one of the babies has acne
- P(X>=1) = P(x=1) + ... + P(X=25)
- P(X>=1) = 1 - P(X=0) = 1 - 0.8^25 = 0.996...