**Question:** Let X and Y be independent Poisson random variables with respective means λ1 and λ2. Calculate the distribution of X + Y.

**Calculation: **We write discrete distributions as P{ X = n }, which when read out loud is the probability of the random variable taking the value of n. The question asks for the distribution of X + Y. This means we write it out as P{ X + Y = n}. Consider the case when X takes a value of 0 ≤ k ≤ n. There is now a constraint on how much Y is allowed which would be 0 ≤ Y ≤ n – k. The probability representation then becomes,

P{ X + Y = n} = Σ P{ X = k, Y ≤ n – k }, this summation is done over k : 0 ≤ k ≤ n

Let us assume that the rates of X and Y are λ and γ respectively. Since X and Y are independent,

Σ P{ X = k, Y ≤ n – k } = Σ P{ X = k } P{ Y ≤ n – k }

Σ e^{-λ} ^{λk}⁄_{k!} e^{-γ} ^{γ(n-k)}⁄_{(n-k)!}

Rearranging the terms, we get,

e^{-(λ+γ)} ^{(λ+γ)n}⁄_{n!}

**Simulation:** The simulation should be straightforward for this problem. See the image below,

Things to note from the image above. Notice how third and the fourth distributions are identical but, the methodology by which they have been obtained is different. The third one, which shows λ = 20 has been obtained with a poisson of rate 20 but the last one that shows λ = 5 + 15 has been obtained by summing up two independent poisson distributions. This concurs with the mathematical approach done in the section above.

End of the Post

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.