Lancelot59
- 640
- 1
I have the continuous random variable Y, defined such that:
<br /> Y=3X+2<br />
and the PDF of x is zero everywhere but:
f(x)=\frac{1}{4}e^{\frac{-x}{4}}, x>0
I correctly got the mean like so:
\mu=E(h(x))=\int^{\infty}_{0} h(x)f(x)
and evaluated it to be 10.
I am unsure as to how I go about getting the variance now. In previous problems I use the usual formula of:
\sigma=\int^{b}_{a} (x-\mu)^{2}f(x)
or the shortcut of:
\sigma^{2}=E[X^{2}]-\mu^{2}
However I'm unsure what to do in the case where the random variable is dependent on another with a given PDF function for continuous random variables.
<br /> Y=3X+2<br />
and the PDF of x is zero everywhere but:
f(x)=\frac{1}{4}e^{\frac{-x}{4}}, x>0
I correctly got the mean like so:
\mu=E(h(x))=\int^{\infty}_{0} h(x)f(x)
and evaluated it to be 10.
I am unsure as to how I go about getting the variance now. In previous problems I use the usual formula of:
\sigma=\int^{b}_{a} (x-\mu)^{2}f(x)
or the shortcut of:
\sigma^{2}=E[X^{2}]-\mu^{2}
However I'm unsure what to do in the case where the random variable is dependent on another with a given PDF function for continuous random variables.