Binomial distribution and when to use it.
easyAnswer
- X ~ Binomial(n, p): number of successes in n independent Bernoulli(p) trials.
- PMF: ^(n-k).
- E[X] = np; .
- Use it for: A/B testing (successes out of n visitors), quality inspection (defects out of n items), any bounded count of independent trials.
- When n is large and p is small, approximate by Poisson(np).
Check yourself — multiple choice
- Sum of n i.i.d. Bernoulli(p); E[X]=np, ; use for A/B tests, quality inspection
- Only for continuous
- Var = n
Binomial = n iid Bernoulli(p); mean np, variance np(1-p).
#distributions#probability
Practise Statistics Fundamentals
215 interview questions in this topic.