| |||||||||
In probability theory and statistics, the moment-generating function of a random variable X is
The moment-generating function generates the moments of the probability distribution, as follows:
If X has a continous probability density function f(x) then the moment generating function is given by
where <math>m_i<math> is the ith moment.
Regardless of whether probability distribution is continuous or not, the moment-generating function is given by the Riemann-Stieltjes integral
where F is the cumulative distribution function.
Related concepts include the characteristic function, the probability-generating function, and the cumulant-generating function. The cumulant-generating function is the logarithm of the moment-generating function.