Moment Generating Function of Geometric Distribution/Formulation 2/Examples
Jump to navigation
Jump to search
Examples of Use of Moment Generating Function of Geometric Distribution
Let $X \sim \Geometric p$ for some $0 < p < 1$, where $\Geometric p$ is the Geometric distribution.
- $\map X \Omega = \set {0, 1, 2, \ldots} = \N$
- $\map \Pr {X = k} = p \paren {1 - p}^k$
First Moment
The first moment generating function of $X$ is given by:
- $\map { {M_X}'} t = \dfrac {p \paren {1 - p} e^t } {\paren {1 - \paren {1 - p} e^t}^2 }$
Second Moment
The second moment generating function of $X$ is given by:
- $\map { {M_X}''} t = p \paren {1 - p} e^t \paren {\dfrac {1 + \paren {1 - p} e^t } {\paren {1 - \paren {1 - p} e^t}^3 } }$
Third Moment
The third moment generating function of $X$ is given by:
- $\map { {M_X}'''} t = p \paren {1 - p} e^t \paren {\dfrac {1 + 4 \paren {1 - p} e^t + \paren {1 - p}^2 e^{2t} } {\paren {1 - \paren {1 - p} e^t}^4 } }$
Fourth Moment
The fourth moment generating function of $X$ is given by:
- $\map { {M_X}^{\paren 4} } t = p \paren {1 - p } e^t \paren {\dfrac {1 + 11 \paren {1 - p} e^t + 11 \paren {1 - p}^2 e^{2t} + \paren {1 - p}^3 e^{3t} } {\paren {1 - \paren {1 - p} e^t}^5 } }$
This page has been identified as a candidate for refactoring of medium complexity. In particular: Recommend that instead of this piecemeal approach, in which it is headachingly possible to make a mistake in the application of the fiddly division rule, that the general $n$th derivative is considered -- solution by induction may be appropriate. Same applies to Formulation 1. It is very nearly always better to develop a general rule than slog through case after case. "Rules destroy cases" or whatever that aphorism actually is. Until this has been finished, please leave {{Refactor}} in the code.
New contributors: Refactoring is a task which is expected to be undertaken by experienced editors only. Because of the underlying complexity of the work needed, it is recommended that you do not embark on a refactoring task until you have become familiar with the structural nature of pages of $\mathsf{Pr} \infty \mathsf{fWiki}$.To discuss this page in more detail, feel free to use the talk page. When this work has been completed, you may remove this instance of {{Refactor}} from the code. |