Let $X_1, X_2, \ldots$ be i.i.d. and have the Poisson distribution with parameter $\lambda$. We define the estimator of $y=e^{-a\lambda}$ (where $a \neq 0$ is some constant value) as: $$Y_n= \left( 1-\frac a n \right)^{\sum\limits_{i=1}^nX_i}$$ Is it an ubiased estimator of $y$?
So $E(X_i) = \lambda$. I'm trying to calculate the bias with:
$$E(Y_n)=E\left((1-\frac a n)^{\sum\limits_{i=1}^nX_i}\right) = E\left( (1-\frac{a}{n})^{X_1} \cdots (1-\frac{a}{n})^{X_n} \right)$$
which, since $X_i$ are i.i.d., equals:
$$=\left( E\left((1-\frac{a}{n})^{X_1}\right)\right)^n$$
I wanted to go further by creating an additional random variable defined as $Z_i = (1-\frac{a}{n})^{X_i}$, calculating its expected value and then plugging it into the formula above, but I have problems with doing so. How should I approach this? $E(Z_i)=(1-\frac{a}{n})^{x}\cdot \frac{\lambda^x e^{-\lambda}}{x!}$ seems awful to calculate and I'm not even sure if it is the correct way.
$$E\left(\left(1-\frac{a}{n}\right)^X\right) = \sum_{x=0}^{\infty} \left(1-\frac{a}{n}\right)^x e^{-\lambda}\frac{\lambda^x}{x!} = e^{-\lambda} e^{\lambda\left(1-\frac{a}{n}\right)} = e^{\frac{-a\lambda}{n}}$$
$$E\left(\left(1-\frac{a}{n}\right)^X\right)^n = e^{\frac{-na\lambda}{n}} = e^{-a\lambda}$$