How do I find the pdf of $\prod_{i=1}^n X_i$, where $X_is$ are independent uniform [0,1] random variables.
I know X~U[0,1], -ln(x) is exponential(1). I also know the sum of two or more independent exponential random variable is gamma.
For $Y = \sum_{i=1}^n -ln(x_i)$, which is a gamma(n, 1), I found the pdf for Y is $$\int_0^\infty \frac{1}{\Gamma (n)} y^{n-1} e^{-y} dy$$.
Let $Z = e^Y$
I am trying to the pdf for Z, what I found is $$\int_1^\infty \frac{1}{\Gamma (n)} ln(z)^{n-1} \frac{1}{z^2} dz$$, which does not look right to me. Could someone check it?
Step 1: Note that $-\log X_j$ has an exponential(1) distribution.
Step 2: Note that $\sum_{j=1}^n (-\log X_j)$ is a sum of iid random variables, so convolution results apply.
Step 3: Figure out the convolution for the exponential distribution, by looking it up, by using characteristic functions, or moment-generating functions, whichever you're familiar with. You'll find $f_X(x)=x^{n-1} e^{-x} / (n-1)!$ as the density of $-\log Y$, which is a $\Gamma$ distribution.
Step 4: Transform this back to get something like $(-\log y)^{n-1}/(n-1)!$.
Note that for increasing $g$ (decreasing $g$ is analogous), $$\Pr(Y\leq y)=\Pr(g(X)\leq y)=\Pr(X\leq g^{−1}(y))=F_X(g^{−1}(y)).$$
Now differentiate with respect to $z$ to get
$$ f_Y(y) = f_X(g^{-1}(y)) g^{-1}\;'(y)= \frac{f_X(g^{-1}(y))}{g'(g^{-1}(y))}. $$
In your case $g(x)=\exp(−x)$ which is decreasing in $x$ and hence you need to replace the denominator with $|g′(g^{−1}(y))|$.
So $g'(x)=-\exp(-x)$ and $g^{-1}(y)=-\log y$.