Let X be a random variable that takes the values 1, 2, and 3, with the following probabilities:
P(X =1)= 1/2,P(X =2)= 1/4,P(X =3)= 1/4.
Find the moment generating function of X and use it to obtain the first three moments, EX,
EX^2,EX^3.
Solution.
Let X be a random variable that takes the values 1, 2, and 3, with t.pdf
1. Let X be a random variable that takes the values 1, 2, and 3, with the following probabilities:
P(X =1)= 1/2,P(X =2)= 1/4,P(X =3)= 1/4.
Find the moment generating function of X and use it to obtain the first three moments, EX,
EX^2,EX^3.
Solution