$X \sim \mathcal{P}( \lambda) $ and $Y \sim \mathcal{P}( \mu)$ meaning that $X$ and $Y$ are Poisson distributions. What is the probability distribution law of $X + Y$. I know it is $X+Y \sim \mathcal{P}( \lambda + \mu)$ but I don't understand how to derive it.
7 Answers
This only holds if $X$ and $Y$ are independent, so we suppose this from now on. We have for $k \ge 0$: \begin{align*} P(X+ Y =k) &= \sum_{i = 0}^k P(X+ Y = k, X = i)\\ &= \sum_{i=0}^k P(Y = k-i , X =i)\\ &= \sum_{i=0}^k P(Y = k-i)P(X=i)\\ &= \sum_{i=0}^k e^{-\mu}\frac{\mu^{k-i}}{(k-i)!}e^{-\lambda}\frac{\lambda^i}{i!}\\ &= e^{-(\mu + \lambda)}\frac 1{k!}\sum_{i=0}^k \frac{k!}{i!(k-i)!}\mu^{k-i}\lambda^i\\ &= e^{-(\mu + \lambda)}\frac 1{k!}\sum_{i=0}^k \binom ki\mu^{k-i}\lambda^i\\ &= \frac{(\mu + \lambda)^k}{k!} \cdot e^{-(\mu + \lambda)} \end{align*} Hence, $X+ Y \sim \mathcal P(\mu + \lambda)$.
-
2$\begingroup$ Thank you! but what happens if they are not independent? $\endgroup$– user31280Oct 25, 2012 at 20:20
-
13$\begingroup$ In general we can't say anything then. It depends on how they depend on another. $\endgroup$– martiniOct 25, 2012 at 20:22
-
3$\begingroup$ Thank you! it's very simple and I feel like a complete idiot. $\endgroup$– user31280Oct 25, 2012 at 20:40
-
2$\begingroup$ Nice derivation: specifically the transformation of (a) the i/k factorials and (b) the mu/lambda polynomials into the binomial form of the polynomial power expression. $\endgroup$ Aug 30, 2014 at 20:59
-
1$\begingroup$ @LiorA Yes. k! included to combine with the rest and simplify as intended, so 1/k! is included to compensate. $\endgroup$ Jan 7, 2018 at 14:23
Another approach is to use characteristic functions. If $X\sim \mathrm{po}(\lambda)$, then the characteristic function of $X$ is (if this is unknown, just calculate it) $$ \varphi_X(t)=E[e^{itX}]=e^{\lambda(e^{it}-1)},\quad t\in\mathbb{R}. $$ Now suppose that $X$ and $Y$ are independent Poisson distributed random variables with parameters $\lambda$ and $\mu$ respectively. Then due to the independence we have that $$ \varphi_{X+Y}(t)=\varphi_X(t)\varphi_Y(t)=e^{\lambda(e^{it}-1)}e^{\mu(e^{it}-1)}=e^{(\mu+\lambda)(e^{it}-1)},\quad t\in\mathbb{R}. $$ As the characteristic function completely determines the distribution, we conclude that $X+Y\sim\mathrm{po}(\lambda+\mu)$.
You can use Probability Generating Function(P.G.F). As poisson distribution is a discrete probability distribution, P.G.F. fits better in this case.For independent X and Y random variable which follows distribution Po($\lambda$) and Po($\mu$). P.G.F of X is \begin{equation*} \begin{split} P_X[t] = E[t^X]&= \sum_{x=0}^{\infty}t^xe^{-\lambda}\frac{\lambda^x}{x!}\\ &=\sum_{x=0}^{\infty}e^{-\lambda}\frac{(\lambda t)^x}{x!}\\ &=e^{-\lambda}e^{\lambda t}\\ &=e^{-\lambda (1-t)}\\ \end{split} \end{equation*} P.G.F of Y is \begin{equation*} \begin{split} P_Y[t] = E[t^Y]&= \sum_{y=0}^{\infty}t^ye^{-\mu}\frac{\mu^y}{y!}\\ &=\sum_{y=0}^{\infty}e^{-\mu}\frac{(\mu t)^y}{y!}\\ &=e^{-\mu}e^{\mu t}\\ &=e^{-\mu (1-t)}\\ \end{split} \end{equation*}
Now think about P.G.F of U = X+Y. As X and Y are independent, \begin{equation*} \begin{split} P_U(t)=P_{X+Y}(t)=P_X(t)P_Y(t)=E[t^{X+Y}]=E[t^X t^Y]&= E[t^X]E[t^Y]\\ &= e^{-\lambda (1-t)}e^{-\mu (1-t)}\\ &= e^{-(\lambda+\mu) (1-t)}\\ \end{split} \end{equation*}
Now this is the P.G.F of $Po(\lambda + \mu)$ distribution. Therefore,we can say U=X+Y follows Po($\lambda+\mu$)
In short, you can show this by using the fact that $$Pr(X+Y=k)=\sum_{i=0}^kPr(X+Y=k, X=i).$$
If $X$ and $Y$ are independent, this is equal to $$ Pr(X+Y=k)=\sum_{i=0}^kPr(Y=k-i)Pr(X=i) $$ which is $$ \begin{align} Pr(X+Y=k)&=\sum_{i=0}^k\frac{e^{-\lambda_y}\lambda_y^{k-i}}{(k-i)!}\frac{e^{-\lambda_x}\lambda_x^i}{i!}\\ &=e^{-\lambda_y}e^{-\lambda_x}\sum_{i=0}^k\frac{\lambda_y^{k-i}}{(k-i)!}\frac{\lambda_x^i}{i!}\\ &=\frac{e^{-(\lambda_y+\lambda_x)}}{k!}\sum_{i=0}^k\frac{k!}{i!(k-i)!}\lambda_y^{k-i}\lambda_x^i\\ &=\frac{e^{-(\lambda_y+\lambda_x)}}{k!}\sum_{i=0}^k{k\choose i}\lambda_y^{k-i}\lambda_x^i \end{align} $$ The sum part is just $$ \sum_{i=0}^k{k\choose i}\lambda_y^{k-i}\lambda_x^i=(\lambda_y+\lambda_x)^k $$ by the binomial theorem. So the end result is $$ \begin{align} Pr(X+Y=k)&=\frac{e^{-(\lambda_y+\lambda_x)}}{k!}(\lambda_y+\lambda_x)^k \end{align} $$ which is the pmf of $Po(\lambda_y+\lambda_x)$.
-
$\begingroup$ Moderator notice: This answer was moved here as a consequence of merging two questions. This explains the small differences in notation. The OP's $\lambda$ is $\lambda_x$ here, and OP's $\mu$ is $\lambda_y$. Otherwise there is no difference. $\endgroup$ Apr 23, 2015 at 6:55
Using Moment Generating Function.
If $X \sim \mathcal{P}(\lambda)$, $Y \sim \mathcal{P}(\mu)$ and S=X+Y.
We know that MGF(Moment Generating Function) of $\mathcal{P}(\lambda)=e^{\lambda(e^t-1)}$(See the end if you need proof)
MGF of S would be
$$\begin{align}
M_S(t)&=E[e^{tS}]\\&=E[e^{t(X+Y)}]\\&=E[e^{tX}e^{tY}]\\&=E[e^{tX}]E[e^{tY}]\quad \text{given }X,Y\text{ are independent}\\&=e^{\lambda(e^t-1)}e^{\mu(e^t-1)}\\&=e^{(\lambda+\mu)(e^t-1)}
\end{align}$$
Thus S is a Poisson Distribution with parameter $\lambda+\mu$.
MGF of Poisson Distribution
If $X \sim \mathcal{P}(\lambda)$, then by definition Probability Mass Function is
$$\begin{align}
f_X(k)=\frac{\lambda^k}{k!}e^{-\lambda},\quad k \in 0,1,2....
\end{align}$$
It's MGF is
$$\begin{align}
M_X(t)&=E[e^{tX}]\\&=\sum_{k=0}^{\infty}\frac{\lambda^k}{k!}e^{-\lambda}e^{tk}\\&=e^{-\lambda}\sum_{k=0}^{\infty}\frac{\lambda^ke^{tk}}{k!}\\&=e^{-\lambda}\sum_{k=0}^{\infty}\frac{(\lambda e^t)^k}{k!}\\&=e^{-\lambda}e^{\lambda e^t}\\&=e^{\lambda e^t-\lambda}\\&=e^{\lambda(e^t-1)}
\end{align}$$
hint: $\sum_{k=0}^{n} P(X = k)P(Y = n-k)$
-
$\begingroup$ why this hint, why the sum? This is what I don't understand $\endgroup$– user31280Oct 25, 2012 at 20:22
-
$\begingroup$ adding two random variables is simply convolution of those random variables. That's why. $\endgroup$– jay-sunOct 25, 2012 at 20:24
-
$\begingroup$ gotcha! Thanks! $\endgroup$– user31280Oct 25, 2012 at 20:31
-
$\begingroup$ adding two random variables is simply convolution of those random variables... Sorry but no. $\endgroup$– DidFeb 13, 2013 at 6:28
-
2$\begingroup$ There is no
usual sense
for convolution of random variables. Either convolution of distributions or addition of random variables. $\endgroup$– DidFeb 13, 2013 at 6:51
Here's a much cleaner solution:
Consider a two Poisson processes occuring with rates $\lambda$ and $\mu$, where a Poisson process of rate $r$ is viewed as the limit of $n$ consecutive Bernoulli trials each with probability $\frac{r}{n}$, as $n\to\infty$.
Then $X$ counts the number of successes in the trials of rate $\lambda$ and $Y$ counts the number of successes in the trials of rate $\mu$, so the total number of successes is the same as if we had each trial succeed with probability $\frac{\lambda + \mu}{n}$, where we take $n$ to be large enough so that the event where the $i$th Bernoulli trial in both processes are successful has a negligible probability. Then we are done.
-
$\begingroup$ Your answer applies to MERGE case instead of SUM, since if X succeeds and Y succeeds, the result is 2. $\endgroup$– TengeryeMay 1, 2020 at 8:55
-
$\begingroup$ If we consider the case where that Poisson process runs from time $t=0$ to $t=1$, then the number of successes is Pois($r$) by construction. As $n\to\infty$, the number of trials that succeed in both Poisson processes should be $\left(\frac{\lambda}{n}\right)\left(\frac{\mu}{n}\right)n + O_p\left(\sqrt{n\left(\frac{\mu\lambda}{n^2}\right)\left(1-\frac{\mu\lambda}{n^2}\right)}\right)\to 0$ by CLT. $\endgroup$– AnonMay 3, 2020 at 6:17
-
$\begingroup$ Formally, we'd have to use Slutsky's Theorem and Continuous Mapping Theorem fully justify why this convergence in probability means that $X+Y\sim Pois(\mu+\lambda)$ (where we let $X_n$ and $Y_n$ be the number of successes using $n$ trials with their respective probabilities, so $X_n\to X$ and $Y_n\to Y$ in distribution), but the intuition that "the Bernoulli trial in both processes are successful has negligible probability" should be enough to give a good idea why the statement is true. $\endgroup$– AnonMay 3, 2020 at 6:27
independent
. $\endgroup$