|
| 1 | +--- |
| 2 | +layout: proof |
| 3 | +mathjax: true |
| 4 | + |
| 5 | +author: "Joram Soch" |
| 6 | +affiliation: "BCCN Berlin" |
| 7 | +e_mail: "joram.soch@bccn-berlin.de" |
| 8 | +date: 2020-08-19 07:51:00 |
| 9 | + |
| 10 | +title: "Moment in terms of moment-generating function" |
| 11 | +chapter: "General Theorems" |
| 12 | +section: "Probability theory" |
| 13 | +topic: "Further moments" |
| 14 | +theorem: "Moment in terms of moment-generating function" |
| 15 | + |
| 16 | +sources: |
| 17 | + - authors: "ProofWiki" |
| 18 | + year: 2020 |
| 19 | + title: "Moment in terms of Moment Generating Function" |
| 20 | + in: "ProofWiki" |
| 21 | + pages: "retrieved on 2020-08-19" |
| 22 | + url: "https://proofwiki.org/wiki/Moment_in_terms_of_Moment_Generating_Function" |
| 23 | + |
| 24 | +proof_id: "P153" |
| 25 | +shortcut: "mom-mgf" |
| 26 | +username: "JoramSoch" |
| 27 | +--- |
| 28 | + |
| 29 | + |
| 30 | +**Theorem:** Let $X$ be a scalar [random variable](/D/rvar) with the [moment-generating function](/D/mgf) $M_X(t)$. Then, the $n$-th [moment](/D/mom) of $X$ can be calculated from the moment-generating function via |
| 31 | + |
| 32 | +$$ \label{eq:mom-mgf} |
| 33 | +\mathrm{E}(X^n) = M_X^{(n)}(0) |
| 34 | +$$ |
| 35 | + |
| 36 | +where $n$ is a positive integer and $M_X^{(n)}(t)$ is the $n$-th derivative of $M_X(t)$. |
| 37 | + |
| 38 | + |
| 39 | +**Proof:** Using the [definition of the moment-generating function](/D/mgf), we can write: |
| 40 | + |
| 41 | +$$ \label{eq:mom-mgf-s1} |
| 42 | +M_X^{(n)}(t) = \frac{\mathrm{d}^n}{\mathrm{d}t^n} \mathrm{E}(e^{tX}) \; . |
| 43 | +$$ |
| 44 | + |
| 45 | +Using the power series expansion of the exponential function |
| 46 | + |
| 47 | +$$ \label{eq:exp-ps} |
| 48 | +e^x = \sum_{n=0}^\infty \frac{x^n}{n!} \; , |
| 49 | +$$ |
| 50 | + |
| 51 | +equation \eqref{eq:mom-mgf-s1} becomes |
| 52 | + |
| 53 | +$$ \label{eq:mom-mgf-s2} |
| 54 | +M_X^{(n)}(t) = \frac{\mathrm{d}^n}{\mathrm{d}t^n} \mathrm{E}\left( \sum_{m=0}^\infty \frac{t^m X^m}{m!} \right) \; . |
| 55 | +$$ |
| 56 | + |
| 57 | +Because the [expected value is a linear operator](/P/mean-lin), we have: |
| 58 | + |
| 59 | +$$ \label{eq:mom-mgf-s3} |
| 60 | +\begin{split} |
| 61 | +M_X^{(n)}(t) &= \frac{\mathrm{d}^n}{\mathrm{d}t^n} \sum_{m=0}^\infty \mathrm{E}\left( \frac{t^m X^m}{m!} \right) \\ |
| 62 | +&= \sum_{m=0}^\infty \frac{\mathrm{d}^n}{\mathrm{d}t^n} \frac{t^m}{m!} \mathrm{E}\left( X^m \right) \; . |
| 63 | +\end{split} |
| 64 | +$$ |
| 65 | + |
| 66 | +Using the $n$-th derivative of the $m$-th power |
| 67 | + |
| 68 | +$$ \label{eq:dndx-xm} |
| 69 | +\frac{\mathrm{d}^n}{\mathrm{d}x^n} x^m = \left\{ |
| 70 | +\begin{array}{rl} |
| 71 | +m^{\underline{n}} \, x^{m-n} \; , & \text{if} \; n \leq m \\ |
| 72 | +0 \; , & \text{if} \; n > m \; . |
| 73 | +\end{array} |
| 74 | +\right. |
| 75 | +$$ |
| 76 | + |
| 77 | +with the falling factorial |
| 78 | + |
| 79 | +$$ \label{eq:fact-fall} |
| 80 | +m^{\underline{n}} = \prod_{i=0}^{n-1} (m-i) = \frac{m!}{(m-n)!} \; , |
| 81 | +$$ |
| 82 | + |
| 83 | +equation \eqref{eq:mom-mgf-s3} becomes |
| 84 | + |
| 85 | +$$ \label{eq:mom-mgf-s4} |
| 86 | +\begin{split} |
| 87 | +M_X^{(n)}(t) &= \sum_{m=n}^\infty \frac{m^{\underline{n}} \, t^{m-n}}{m!} \mathrm{E}\left( X^m \right) \\ |
| 88 | +&\overset{\eqref{eq:fact-fall}}{=} \sum_{m=n}^\infty \frac{m! \, t^{m-n}}{(m-n)! \, m!} \mathrm{E}\left( X^m \right) \\ |
| 89 | +&= \sum_{m=n}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\ |
| 90 | +&= \frac{t^{n-n}}{(n-n)!} \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\ |
| 91 | +&= \frac{t^0}{0!} \, \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\ |
| 92 | +&= \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \; . |
| 93 | +\end{split} |
| 94 | +$$ |
| 95 | + |
| 96 | +Setting $t = 0$ in \eqref{eq:mom-mgf-s4} yields |
| 97 | + |
| 98 | +$$ \label{eq:mom-mgf-s5} |
| 99 | +\begin{split} |
| 100 | +M_X^{(n)}(0) &= \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{0^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\ |
| 101 | +&= \mathrm{E}\left( X^n \right) |
| 102 | +\end{split} |
| 103 | +$$ |
| 104 | + |
| 105 | +which conforms to equation \eqref{eq:mom-mgf}. |
0 commit comments