I want find the PDF of $Y$ when $Y=-\log X$ and $X$ has a beta distribution.
I found the below formula as the answer, but I think there should be $(1-e^{-y})^{b-1}$ part should added to this.
Is that correct ?
$$f_Y(y)=e^{-y}f_X(e^{−y})=e^{−y}\cdot\dfrac {(e^{−y})^{a−1}}{B(a,1)}=ae^{−ay}, 0≤y<∞$$