# $X,Y,Z$ are IID ${\rm Poisson}(\lambda)$. Find the correlation between $X$ and $X+Y+Z$

$X,Y,Z$ are IID ${\rm Poisson}(\lambda)$. Find the correlation between $X$ and $X+Y+Z$.

So far I've tried making a scatterplot, but it did not help.

I also tried looking at this figure from Wikipedia (image released to public domain)

and got even more confused. Should I be using this formula from Wikipedia

\begin{align} r_{xy} &=\frac{\sum x_iy_i-n \bar{x} \bar{y}}{n s_x s_y} \\ &=\frac{n\sum x_iy_i-\sum x_i\sum y_i}{\sqrt{n\sum x_i^2-(\sum x_i)^2}~\sqrt{n\sum y_i^2-(\sum y_i)^2}}?????? \end{align}

If so, what is $x_i, y_i$ and $\bar{x}, \bar{y}$? And $n$?

What about the rank correlation coefficient? Is that applicable here??

• SAMPLE correlation is very different from POPULATION correlation. You are confusing the two, and the answer below does not mention this – Taylor Feb 1 '17 at 16:54
• @Taylor, can you explain what you mean? Can't you look at a scatter plot to quantify correlation? That's what I was taught in my intro stats class, or to use SPSS, but this upper level stats class has proven much harder! :-( – casecontrol_logistic Feb 1 '17 at 19:40
• sample correlation is something you calculate from your dataset. your data is random, so your sample correlation is random. and most of the time you don't know the exact probability distribution with real data. population correlation is something you calculate with your real probability distribution. It is a non-random number that doesn't rely on observations of your data...but it does rely on the probability distribution – Taylor Feb 1 '17 at 20:22

If $X,Y$ and $Z$ are independent, then their covariance is 0. So is their correlation.
For the sums look at $$cov(X,X+Y+Z) = Cov(X,X) + Cov(X,Y) + Cov(X,Z)$$ the latter 2 are zero (due to independence) and the first one is $Cov(X,X) = Var(X) = \lambda$.
For the variance we get $$VAR(X+Y+Z) = VAR(X) + VAR(Y) + VAR(Z) = 3 \lambda$$ due to independence. Thus the correlations is $$cor(X,X+Y+Z) = \frac{cov(X,X+Y+Z)}{\sqrt{VAR(X+Y+Z)} \sqrt{VAR(X)}} = \frac{\lambda}{\lambda \sqrt{3}} = 1/\sqrt{3}.$$
• Thank you but how did you get the first line? I didn't think covariances added like that? Also, how does this relate to the scatterplot or SPSS output you normally look at when calculating correlations? Why doesn't the correlation depend on $\lambda$ and what does the $1/\sqrt{3}$ in real world terms here? Still very confused :-( – casecontrol_logistic Feb 1 '17 at 19:45