Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Explanation for moment-generating function

  1. Sep 1, 2007 #1
    Hello everyone, I have taken up on reading a mathematical statistics book and have gotten stuck on the moment-generating function. I tried using Wikipedia for a simpler explanation to no avail....
    I noticed it is used a lot in finding the mean & variance for all types of distributions. Can someone explain to me in layman's terms the moment generating function. I can't seem to connect the dots......

    Thanks in advanced for any help...Paolo

    P.S. I had calculus courses about 20 years ago.....
  2. jcsd
  3. Sep 1, 2007 #2
    The nth moment about the origin is defined as


    The mean is of course [itex]E[x]=\mu[/itex]. The variance is [itex]E[(X-E[X])^2][/itex] which can be shown to be equal to [itex]E[X^2]-E[X]^2[/itex].

    The main point is that if you take the the nth derivative of the moment generating function and evaluate it at zero you get the nth moment about the origin. In symbols, [tex]E\left(X^n\right)=M_X^{(n)}(0)=\left.\frac{\mathrm{d}^n M_X(t)}{\mathrm{d}t^n}\right|_{t=0}[/tex]

    The proof of the continuous case is given on the wikipedia page (the notation on wikipedia slightly differs, m_i is the ith moment about the origin, so [itex]m_i=E[X^i][/itex]). The moment generating function can be used to calculate the mean as [itex]M'_X(0)[/itex] and the variance as [itex]M''(0)-M'(0)^2[/itex]. You can look at the various wikipedia pages on particular distributions (like the poisson distribution) and calculate the means and variances from the moment generating function. If you're feeling adventurous you could calculate the moment generating function from the definition, [itex]E[e^{tx}][/itex].
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Explanation for moment-generating function
  1. Generating functions (Replies: 1)