How can I find unbiased estimator for $\theta$ for r.v. with p.d.f. $f_X(x)=e^{-\theta x}$, $x>0$, $θ>0$. Let $(X_1,\ldots,X_n)$ be a s.r.s. of such r.v.
I think I need to find expectation of the random variable to get the estimator $\hat \theta$ and to check whether it unbiased or not, I need to know the pdf $\sum_{i=1}^n X_i$ , and find the expectation of $\hat \theta$ but how can I find it?
I'm trying to integrate to get expectation, and got $E[x]=\int\limits_{-\infty}^{\infty}f_X(x)x= \frac{1}{\theta^2}$
but I also see some explanation about this is being $X\sim \mathrm{Exp}(1/\theta)$ exponential distribution with $E[x]=\frac{1}{\theta}$ , but I don't know which one is right? I know that exponential distribution p.d.f is
$$X\sim \mathrm{Exp}(\lambda):f(x;\lambda)=\lambda e^{-\lambda x}$$