Agenda

<aside> 📌 Reminders

Change of Variable Formula for Densities

Recall the change of variable formula from last week (where $X$ is a continuous random variable and $g$ is a monotonic function,

$$ f_Y(y) = f_X\big(g^{-1}(y)\big) \cdot \left| \frac{d}{dy} g^{-1}(y) \right|,  $$

Example

If $X \sim \text{Unif}(0,1)$ (PDF $f_X(x) = 1$ for $0 \leq x \leq 1$) and $Y = X^2$:


Moment Generating Function (MGF)

Defintion

The MGF of a random variable $X$ is:

$$ M_X(t) = \mathbb{E}[e^{tX}] = \int_{-\infty}^\infty e^{tx} f_X(x) \, dx.  $$

Purpose

$$ \mathbb{E}[X^n] = M_X^{(n)}(0) = \left. \frac{d^n}{dt^n} M_X(t) \right|_{t=0}.  $$

Common MGFs