Moments and Moment-Generating Functions

Example 1 | Example 3 |Table of MGF's|Useful Web Resources| Solutions

.

 

Definition 3.6-1:

The kth moment of a random variable X is defined to be E(X^k)

The first moment is the mean of X. The relationship between the second moment and variance is that

For a discrete random variable X with probability mass function p(x), the kth moment may be computed as

.

Example 1:

Let the random variable X have the following probability mass function.

x
-1
0
1
2
p(x)
0.3
0.2
0.1
0.4

.

What is the 4th moment of X?

Solution:

E(X^4)= (-1)^4(0.3) + (0)^4(0.2) + (1)^4(0.1) + ( 2)^4(0.4) = 0.3+ 0 + 0.1 + 6.4= 6.8

.

What is the 3rd moment of X?

.Solution

.

Definition 3.6-2:

The moment-generating function of a random variable X is defined by

The moment-generating function is said to exist if there is some positive constant b such that Mx(t) is finite for -b < t < b.

.

Theorem 3.6-1:

For any positive integer k, the kth derivative of the moment-generating function with respect to t, evaluated at t =0, is the kth moment of the random variable X. The verification of this theorem for a discrete random variable X is as follows:

The mean and variance of a random variable X may be expressed in terms of the moment-generating function as

Example 2:

Let X have the following proability mass function:

x
0
1
2
p(x)
0.5
0.1
0.4

.

What is the moment-generating function of X?

Solution:

Mx(t)= E(e^tx) = (e^0t)(0.5) + (e^1t)(0.1) + (e^2t)(0.4) =0.5+ 0.1(e^t) + 0.4(e^2t)

.

What are the first two moments of X?

Solution:

First moment

[Mx^(1)] (t) =0.1e^t + (0.4)(2)e^2t

= 0.1e^t + 0.8e^2t

Mean

u = [Mx^(1)] (0)= 0.1e^0 + 0.8e^(2*0)

=0.1+0.8

=0.9

Second moment

[Mx^(2)] (t) =0.1e^t + (0.8)(2)e^2t

= 0.1e^t + 1.6e^2t

Variance

[Mx^(2)] (0)= 0.1e^0 + 1.6e^(2*0)

=0.1+1.6

=1.7

So s^2=[Mx^(2)] (0) -{[Mx^(1)] (0)}^2 =1.7- 0.9^2 = 0.89

Example 3:

Let X have the following proability mass function:

x
-1
0
2
p(x)
0.2
0.7
0.1

Find the moment generatin function of X and use it to answer the following questions:

.

A: What is u?

 

B:What is [Mx^(2)] (0)?

(Round to 1 decimal place)

 

C: What is s^2?

(Round to 1 decimal place)

  

Solution

Table of Moment-Generating Functions

.


Useful Web Resources

Solutions

.

Solution to Example 1

E(X^3)= (-1)^3(0.3) + (0)^3(0.2) + (1)^3(0.1) + ( 2)^3(0.4) = -0.3 + 0 + 0.1 + 3.2= 3

Solution to Example 3

Mx(t)= E(e^tx) = e^ (-1t)(0.2) + (e^0t)(0.7) + (e^2t)(0.1) = 0.2e^(-1t) +0.7 +0.1(e^2t)

First moment

[Mx^(1)] (t) = -0.2e^(-1t) + 0.1(2)(e^2t)

= -0.2e^(-1t) + (0.2)(e^2t)

Mean

u = [Mx^(1)] (0)= -0.2e^(0) + (0.2)(e^0)

= -0.2+0.2

= 0

Second moment

[Mx^(2)] (t) = 0.2e^(-1t) + (0.2)(2)(e^2t)

= 0.2e^(-1t) + (0.4)(e^2t)

Variance

[Mx^(2)] (0)= 0.2e^(0) + (0.4)(e^0)

=0.2+0.4

=0.6

So s^2=[Mx^(2)] (0) -{[Mx^(1)] (0)}^2 =0.6- 0 = 0.6

.

.

.

Created by Ranodya Upathilake © Copyright 2002-2003. All rights reserved. Free Web Site Templates by JimWorld.com Designed by Finerdesign.com | Comments or Questions?