Moment Generating Function (MGF)

A moment generating function (MGF) encodes all of the moments of a random variable into a single function, making it easier to study its distributional properties. Formally, the moment-generating function of a random variable is defined as

The MGF of can then be used to compute the -th moment of , such that

Properties

(Linearity) If , then .

(Independence) If are independent, then .