4

Suppose an expression $Y=a +b X$, where $X$ is a random variable. I would like to find the 2nd order central moment of $Y$ in terms of the expectation value of $X$. For example,

$$E[Y] = a + b E[X]$$

and

$$E[Y^2] = a^2 + 2a b E[X] + b^2E[X^2]$$

which gives

$$Var(Y) = E[Y^2] - E[Y]^2 = b^2E[X^2] - b^2E[X]^2$$

Can this be done using Mathematica? I am new to this environment, so please pardon me if I have not shown enough effort.

Arvind

wolfies
  • 8,722
  • 1
  • 25
  • 54
arvindrajan92
  • 205
  • 1
  • 7

0 Answers0