Moment-generating function (source code)

= Moment-generating function
{wiki=Moment-generating_function}

The moment-generating function (MGF) is a mathematical tool used in probability theory and statistics to characterize the distribution of a random variable. It is defined as the expected value of the exponential function of the random variable.