Consider truncated pdf $y=1,2,3...$ $$f(y,\theta)=\frac{\theta^y e^{-\theta}}{y! (1-e^{-\theta})}$$
I'm required to find expected information (likelihood), but in short I need to find $E(\bar y)=E(\sum y_i /n)$
According to my notes, the answer should be $$E(\bar y)=\frac {\theta}{(1-e^{-\theta})}$$
Generally, to find the mean I use $\int_{-\infty}^{\infty} x p(x) dx$ , but in this case I have 2 parameters.
Thanks in advance

If $Y_1,\dots,Y_n$ are independent random variables having the given distribution (for some fixed $\theta>0$) and $\overline{Y}=\frac{1}{n}\sum_{k=1}^nY_k$, then $$ \mathbb{E}[\overline{Y}]=\frac{1}{n}\mathbb{E}[Y_1+\dots+Y_n]=\mathbb{E}[Y_1]=\frac{e^{-\theta}}{1-e^{-\theta}}\sum_{y=1}^{\infty}\frac{y\theta^y}{y!} $$ $$ =\frac{e^{-\theta}}{1-e^{-\theta}}\sum_{y=1}^{\infty}\frac{\theta^{y}}{(y-1)!}=\frac{\theta e^{-\theta}}{1-e^{-\theta}}\sum_{y=0}^{\infty}\frac{\theta^y}{y!}=\frac{\theta}{1-e^{-\theta}}$$