In the discrete probability distribution, we studied how to calculate the average. One of the functions for average is the moment generating function.
In a simple example, we can use the moment generating function.

X
0
1
2
p
1/3
1/3
1/3


In this table, we can add the row for   .

 
 
 
X
0
1
2
p
1/3
1/3
1/3





Before we look though moment generating function, we should know the definition of the moment.

Moment generating function(mgf) is a function that generates "Moment" by taking the derivative of moment generating function(E()) with respect to t and then inserting 0 in t.

1) Taking the derivative of moment generating function(E()) with respect to t.

 


2) Insert 0 in t.

Knowing  mgf is important because you can get to know pmf using mgf.