[Math] Poisson conditional expectation Random variable X

probability

I can't seem to work this out.

Let $X$ be a Poisson random variable with parameter $\lambda$. Find the conditional expected value of $X$ given $X$ is odd.

Best Answer

EDIT: Sorry about the error, got it corrected now. Thanks, Dilip and Did.

What you need is conditional expectation $\mathbf{E}[X|F]=\frac{E[X \cap F]}{P(F)}$, where $F$ is the set of all odd integers: $$ \mathbf{E}[X \cap F]= \sum_{k=1}^{\infty}\mathbf{E}[X \cap F_k]P[F_k]=1 \cdot e^{-\lambda} \lambda + 3 \cdot \frac{e^{-\lambda}{\lambda^3}}{3!} + \ldots \\ = \sum_{k=0}^{\infty} (2k+1) \frac{e^{-\lambda} \lambda^{2k+1}}{(2k+1)!}=e^{-\lambda} \lambda \sum_{k=1}^{\infty}\frac{\lambda^{2k}}{(2k)!}=e^{-\lambda}\lambda \cosh \lambda $$ At the same time. $P(F)=e^{-\lambda} \sinh \lambda$. Hence, $\mathbf{E}[X|F]=\frac{\mathbf{E}[X \cap F]}{P(F)} = \lambda \coth \lambda$