Slide - 4 - 02 (Lecture 4.2 Expectation)
Slide - 4 - 02 (Lecture 4.2 Expectation)
2 Expectation
Expectation
Properties
Existence of expectation
Moment and variance
Definition
A random variable X has an expectation if it is absolutely integrable, i.e.,
Z
E[|X |] = |x|fX (x)dx < ∞. (3)
Ω
We can evaluate:
Z ∞
1
E[|X |] = |x| · dx
−∞ π(1 + x 2 )
Z ∞
2 x
= dx.
π 0 (1 + x 2 )
Definition
The variance of a continuous random variables X is
Z
Var[X ] = E[(X − µ)2 ] = (x − µ)2 fX (x)dx, (6)
Ω
def
where µ = E[X ].
Expectation
R
E[X ] = Ω xf
R X (x)dx
E[g (X )] = Ω g (x)fX (x)dx
Properties
E[aX ] = aE[X ]
E[X + a] = E[X ] + a
E[aX + b] = aE[X ] + b
Existence of expectation
E[X ] exists when E[|X |] < ∞
Moment and variance
Var[X ] = E[X 2 ] − µ2