151. Moment Generating Function
For a random variable , its MGF is:
Therefore:
In general . So you turn the crank – take derivatives, plug in 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.
| Moment | Name | Definition | |
| 1st | Mean | where the distribution sits | |
| 2nd | Variance | How spread out it is | |
| 3rd | Skewness | How lopsided it is (longer left or right tail) | |
| 4th | Kurtosis | How heavy the tails are, how peaked | |
| 5th … | No names | No intuitive picture |