(New page: Just in case anyone doesn't want to figure out E[X^2] here is how I did it. E[x] = int( x * fX(x),x,a,b) E[x^2] = int( x^2 * fX(x),x,a,b) then I just go Var(x) = E[x^2] - E[x]) |
|||
Line 7: | Line 7: | ||
E[x^2] = int( x^2 * fX(x),x,a,b) | E[x^2] = int( x^2 * fX(x),x,a,b) | ||
− | then I just go Var(x) = E[x^2] - E[x] | + | then I just go Var(x) = E[x^2] - (E[x])^2 |
Latest revision as of 18:29, 3 November 2008
Just in case anyone doesn't want to figure out E[X^2]
here is how I did it.
E[x] = int( x * fX(x),x,a,b)
E[x^2] = int( x^2 * fX(x),x,a,b)
then I just go Var(x) = E[x^2] - (E[x])^2