suppose I have independent random variables $X_i$ which are distributed binomially via $$X_i \sim \mathrm{Bin}(n_i, p_i)$$.
Are there relatively simple formulae or at least bounds for the distribution $$S = \sum_i X_i$$ avaialble?
|
suppose I have independent random variables $X_i$ which are distributed binomially via $$X_i \sim \mathrm{Bin}(n_i, p_i)$$. Are there relatively simple formulae or at least bounds for the distribution $$S = \sum_i X_i$$ avaialble? |
||||
|
|
|
See this paper (The Distribution of a Sum of Binomial Random Variables by Ken Butler and Michael Stephens). |
|||||||||||||
|
|
One short answer is that a normal approximation still works well as long as the variance $\sigma^2 = \sum n_i p_i(1-p_i)$ is not too small. Compute the average $\mu = \sum n_i p_i$ and the variance, and approximate $S$ by $N(\mu,\sigma)$. |
|||||||||||
|
|
This answer provides an R implementation of the explicit formula from the paper linked in the accepted answer (The Distribution of a Sum of Binomial Random Variables by Ken Butler and Michael Stephens). (This code can in fact be used to combine any two independent probability distributions):
|
|||
|
|