5-9The moments of a random variable can often be determined directly from the definition
in Equation S5-7, but there is an alternative procedure that is frequently useful that makes use
of a special function.The moment generating function MX(t) will exist only if the sum or integral in the above def-
inition converges. If the moment generating function of a random variable does exist, it can be
used to obtain all the origin moments of the random variable.Assuming that we can differentiate inside the summation and integral signs,Now if we set t0 in this expression, we find thatEXAMPLE S5-5 Suppose that Xhas a binomial distribution, that isDetermine the moment generating function and use it to verify that the mean and variance of
the binomial random variable are npand ^2 np(1p).
From the definition of a moment generating function, we haveMX 1 t 2 anx 0etx an
xb px 11 p 2 nxanx 0an
xb 1 pet 2 x 11 p 2 nxf 1 x 2 an
xb px 11 p 2 nx, x0, 1,p, n
drMX 1 t 2
dtr
`
t 0E 1 Xr 2dr MX 1 t 2
dtrμa
xxretxf 1 x 2 , X discrete
xretxf 1 x 2 dx, X continuous
The moment generating functionof the random variable Xis the expected value of
etXand is denoted by MX(t). That is,MX 1 t 2 E 1 etX 2 μ (S5-8)a
xetx f 1 x 2 , X discrete
etxf 1 x 2 dx, X continuous
DefinitionLet Xbe a random variable with moment generating function MX(t). Then¿r (S5-9)dr MX 1 t 2
dtr`
t 0PQ220 6234F.CD(05) 5/13/02 4:51 PM Page 9 RK UL 6 RK UL 6:Desktop Folder:TEMP WORK:MONTGOMERY:REVISES UPLO D CH114 FIN L:Quark F