I've been working on the following problem and I'm confused about how to get started:
Let $X_1, X_2,\dots, X_n$ denote i.i.d. real valued random variables, each absolutely continuous with an exponential distribution with parameter $\theta$. Let $a_1,\dots,a_n$ denote real non-zero constants and let $Y = \sum_1^n a_i\log\left(X_i\right)$. Specify the conditions on $\left(a_i\right)_{1\leqslant i \leqslant n} $ under which $Y$ and $\sum_1^n X_i$ are independent.
There is a suggestion to consider the gamma distribution. Based on that I've played around with the Moment Generating functions (mgfs) of $Y$ (which resembles the gamma function) and of $\sum_1^n X_i$, which as the sum of exponentials has a gamma distribution, and my plan was to show that under certain conditions the joint mgf $M(t_1,t_2)$ = $M(t_1,0)*M(0,t_2)$ but I'm not sure how to get a joint distribution of $Y$ and $\sum_1^n X_i$.
Can anyone help me see how this is done? Is this even the right way to go about solving this? I feel like I'm not really making use of the suggestion in more than a trivial way at present, but I'm not sure how to go about using it.