Let $Y$ be a random variable with an exponential distribution with E(Y)=$\theta$.
Show that the pivotal $\frac{2Y}{\theta}$ has a chi-square distribution using moment-generating function technique.
What I did: Mu(t) = E(e$^{tu})$ = E(e$\frac{t(2Y)}{\theta})$.
Then I integrated: $\int_{0}^{\infty}$e$^\frac{t(2Y)}{\theta}*f(y) dy$.
This produces $\frac{-\theta}{2 \beta t-\theta}$
This looks nothing like a chi-square distribution. It then asks how many degrees of freedom it has. Please help! Thanks in advance, oh wise Stats geniuses.