How to use this gamma function in this statistics problem?

56 Views Asked by At

Can someone explain to me how the steps to get from the top to the bottom (the gamma function)? I do not understand the steps taken in between. I see that the denominator of the fraction gets put in front of the fraction, but I don't understand the rule that allows that.

enter image description here

2

There are 2 best solutions below

2
On BEST ANSWER

Suppose $X$ follows gamma distribution with shape parameter $k$ and scale parameter $\theta$, then

$$f_X(x; k, \theta) = \frac{1}{\Gamma(k)\theta^k}x^{k-1}e^{-\frac{x}{\theta}}$$

\begin{align} \int_0^\infty x e^{-\frac{x}{\theta}} \, dx &=\Gamma(2)\theta^2 \int_0^\infty \frac{1}{\Gamma(2)\theta^2} x^{2-1} e^{-\frac{x}{\theta}} \, dx \\ &= \Gamma(2)\theta^2 \end{align}

since $\int_0^\infty \frac{1}{\Gamma(2)\theta^2} x^{2-1} e^{-\frac{x}{\theta}} \, dx=1$ as $\frac{1}{\Gamma(2)\theta^2} x^{2-1} e^{-\frac{x}{\theta}}$ is a pdf.

0
On

Make the substitution $x=t \theta $, the limits will not change $dx = \theta dt$ \begin{eqnarray*} \int_{0}^{\infty} x e^{-\frac{x}{\theta}} dx = \int_{0}^{\infty} t \theta e^{-t} \theta dt =\theta^2 \int_{0}^{\infty} t e^{-t} dt . \end{eqnarray*}