If we have $$ X\sim Poisson(\lambda), Y|X = x\sim Binomial(x+1,p) $$ What is the correlation coefficient of X and Y?
So I used $$\rho=\frac{Cov(X,Y)}{\sqrt{Var(x)Var(Y)}} = \frac{E[X[E[Y|X]]-E[X]E[E[Y|X]]}{\sqrt{E[X](E[E[Y|X]^2] -E[E[Y|X]]^2)}}$$ Is this right? Because I got a wacky answer, and is there an easier way?