Moment generating function

Definition (moment generating function) open_in_new

Let $X$ be a random variable on $\R$. The moment generating function of $X$ is the function $M_X: \R\to[0,\infty]$ given by $$ \begin{align*} M_X(\lambda) = \expect(e^{\lambda X}). \end{align*} $$

For a random variable on $\R^n$, the moment generating function $M_{\v X}: \R^n \to [0,\infty]$ given by $$ \begin{align*} M_{\v X}(\v \lambda) = \expect(e^{\v \lambda^T \v X}), \quad \v \lambda\in\R^n. \end{align*} $$ ($\v \lambda^T \v X$ is the dot product)

If $X$ takes values in $\Z^+$, then the probability generating function is related by $M_X(\lambda) = G_X(e^{\lambda})$.

Proposition (moment generating function of sum of random variables) open_in_new

For independent random variables $X,Y$, $$ \begin{align*} M_{X+Y}(\lambda) = \expect(e^{\lambda X} e^{\lambda Y}) = \expect(e^{\lambda X}) \expect(e^{\lambda Y}) = M_X(\lambda) M_Y(\lambda). \end{align*} $$

Theorem (uniqueness of moment generating function) open_in_new

Let $X,Y$ be random variables having the same moment generating function $M$.

For $X,Y$ in $\R$, if $M(\lambda) < \infty$ for some $\lambda>0$, then $X,Y$ have the same distribution $F_X = F_Y$.

For $\v X,\v Y$ in $\R^n$, if $M(\v \lambda) < \infty$ on some open set of $\v \lambda$, then $\v X,\v Y$ have the same distribution.

The condition of finiteness is required: Example (scaling Cauchy distribution has the same moment generating function).

Definition (convergence of random variables) open_in_new

A sequence of random variables $(X_n)$ converges in distribution to a random variable $X$ if $$ \begin{align*} F_{X_n}(x) \to F_X(x) \end{align*} $$ for all $x\in\R$ where $F_X$ is continuous at $x$.

Why we exclude discontinuity
Theorem (continuity of moment generating function) open_in_new

Let $X,(X_n)$ be random variables. Suppose that as $n\to\R$, $M_{X_n} (\lambda) \to M_X(\lambda)$ for all $\lambda\in\R$ and $M_X(\lambda) < \infty$ for some $\lambda\neq 0$.

Then $X_n \to X$ in distribution.