Topic 6 Part 1
Topic 6 Part 1
MOMENTS &
MOMENT GENERATING FUNCTION
1
PROBABILITY AND STATISTICS | CENTRE OF STATISTICS AND DECISION SCIENCE
By the end of this lesson, you should be able to:
Objectives
calculating the moments for discrete and
random variables.
▪ Compute moments of a random variable by
differentiating the moment generating
function of the random variable.
x r f ( x) dx, if X is continuous
−
e tx f ( x), if X is discrete
x
M X (t ) = E (e ) =
tX
−
e tx f ( x) dx, if X is continuous
Theorem 1:
Let X be random variable with MGF Mx(t). Then
d r M x (t )
r
= E ( X r
) = r
dt t =0
When r = 1, = E ( X ) =
' dM x (t )
= M X (0)
' V ( X ) = E ( X 2 ) − [ E ( X )]2
1
dt t =0 = 2' − ( 1' ) 2
= M X (0) − [ M X (0)]2
'' '
2
d M x (t )
When r = 2, 2' = E ( X 2 ) = =
''
2
M X (0)
dt t =0
et (1 − e kt )
M X (t ) =
k (1 − et )
0.5 , x=6
P( X = x ) = 0.3 , x =8
0.2 x = 10
,
M X (t ) = E (e )
tx
= e f ( x)
tx
( et −1)
M X (t ) = e
Using MX(t), find the mean and variance of the Poisson distribution.
MGF of X:
− x
e
( e t x
)
M X (t ) = E[e ] = e
tX tx
=e
−
=e ( et −1)
x =0 x! x =0 x!
First moment:
dM X (t ) t ( e t −1)
= E[ X ] =
'
1 = e e =
M
dt t =0 t =0
Second moment:
2
d M X (t ) t + et −
2 = E[ X ] =
' 2
2
= (1 + e )e
t
= (1 + )
dt t =0
t =0
Var[ X ] = E[ X 2 ] − E 2 [ X ] = (1 + ) − 2 =
UiTM MOOC | PROBABILITY AND STATISTICS | TOPIC 6 13
Reference
Presenter
ZURAIDA KHAIRUDIN, Senior Lecturer
this lesson. TH [email protected]
15
PROBABILITY AND STATISTICS | CENTRE OF STATISTICS AND DECISION SCIENCE