151. Moment Generating Function

For a random variable 𝑋, its MGF is:

𝐺(𝑡)=𝑖=1𝐺(𝑘)(0)𝑘!=𝑖=1𝐸[𝑋𝑘]𝑘!𝑡𝑘=𝐸[𝑖=1𝑋𝑘𝑡𝑘𝑘!]=𝐸[𝑖=1(𝑡𝑋)𝑘𝑘!]=𝐸[𝑒𝑡𝑋]

Therefore:

𝑀𝑋(𝑡)=𝐸[𝑒𝑡𝑋]

In general 𝑀𝑋𝑘(0)=𝐸[𝑋𝑘]. So you turn the crank – take 𝑘 derivatives, plug in 𝑡=0 and the 𝑘-th moment falls out. The whole sequence of moments (mean via the first, variance via the second, skewness via the third, …) is encoded in this one function, recoverable by differentiation.

MomentName𝑓Definition
1stMean𝐺1(0)=𝐸[𝑋𝑘]where the distribution sits
2ndVariance𝐺2(0)=How spread out it is
3rdSkewness𝐺3(0)=How lopsided it is (longer left or right tail)
4thKurtosis𝐺4(0)=How heavy the tails are, how peaked
5th …No names𝐺(𝑘)(0)=No intuitive picture
Example