Professional Documents
Culture Documents
Department of Statistics
Statistics 100B
Definition:
MX (t) = EetX
Therefore,
If X is discrete
X
MX (t) =
etX P (x)
If X is continuous
Z
MX (t) =
etX f (x)dx
Aside:
ex = 1 +
x2 x3
x
+
+
+
1!
2!
3!
Similarly,
tx (tx)2 (tx)3
+
+
+
1!
2!
3!
Let X be a discrete random variable.
etx = 1 +
tx (tx)2 (tx)3
1+
+
+
+ P (x)
1!
2!
3!
"
MX (t) =
tX
e P (x) =
X
x
or
MX (t) =
P (x) +
t X
t2 X 2
t3 X 3
xP (x) +
x P (x) +
x P (x) +
1! x
2! x
3! x
To find the kth moment simply evaluate the kth derivative of the MX (t) at t = 0.
th derivative
EX k = [MX (t)]kt=0
For example:
First moment:
MX (t)0 =
xP (x) +
2t X 2
x P (x) +
2! x
xP (x) = E(X).
Similarly,
Second moment
MX (t)00 =
x2 P (x) +
6t X 3
x P (x) +
3! x
x2 P (x) = E(X 2 ).
generating
generating
generating
generating
function
function
function
function
of
of
of
of
X b(n, p).
X P oisson().
X exp().
Z N (0, 1).
Theorem:
Let X, Y be independent random variables with moment generating functions MX (t), MY (t)
respectively. Then, the moment generating function of the sum of these two random variables
is equal to the product of the individual moment generating functions:
MX+Y (t) = MX (t)MY (t))
Proof:
3. M X+a = e b t MX ( bt )
b
Proof:
Use these properties and the moment generating function of Z N (0, 1) to find the moment
generating function of X N (, )
Let X1 , X2 , . . . , Xn be i.i.d. random variables from N (, ). Use moment generating functions to find the distribution of
a. T = X1 + X2 + . . . + Xn .
=
b. X
Pn
i=1
Xi
mean and standard deviation n regardless of the sample size n. In the next figure we see the
The first figure is the N (5, 2) distrieffect of the sample size on the shape of the distribution of X.
bution. The second figure represents the distribution of X when n = 4. The third figure represents
when n = 16.
the distribution of X
0.4
0.0
0.2
f(x)
0.6
0.8
N(5,, 2)
2
4
0.4
0.0
0.2
f(x)
0.6
0.8
N(5,,
N(5,,
0.4
0.2
0.0
f(x)
0.6
0.8
16
5
x
11
13