I am asked to find E(Y) of the density function:
$f(y) = \frac{y^{\frac{3}{2}}}{\frac{3}{4}\sqrt\pi}e^{-y},$ for $0<y<\infty$
So, by definition
E(Y)= $\int_0^\infty yf(y)dy = \int_0^\infty \frac{y^{\frac{5}{2}}}{\frac{3}{4}\sqrt\pi}e^{-y}$
How would I compute that integral without using "erf" (I do not even know what that is, so I doubt that in my evaluation we use it).
I can see the similarity on the gamma function, but I cannot solve the integral. Like, how can I even start?
To calculate the integral without using the formulae for the distribution simply notice that
$$E(Y)=\frac{1}{\frac{3}{4}\sqrt\pi}\int_0^\infty y^{7/2-1}e^{-y}\mathrm{d}y=\frac{4}{3\sqrt{\pi}}\Gamma(7/2)=\frac{4}{3}\frac{15}{8}=\frac{5}{2} $$
because $\Gamma(1/2)=\sqrt\pi$ and $\Gamma(x+1)=x\Gamma(x)$