Suppose is a one dimensional random variable with distribution specified by the pdf or (or by a pmf).
the moment generating function of , the mgf, is
defined for all real values of the dummy variable such that is finite.
For instance, with , . The expectation is either evaluated analytically or computed numerically. The integral is a sum when is a pmf.
It takes its name from the following property obtained by differentiating with respect to and evaluating at .
st | ||||
st | ||||
st |
and so on. It gives the moments of about the origin.
The cumulant generating function of is the log of the mgf
Its first two derivatives deliver the mean and the variance explicitly.
st | ||||
st | ||||
st |
Exercise 3.18
Find the mgf and cgf of the Poisson distribution with parameter . Hence show the mean and variance of are both .