Agenda
<aside> 📌 Reminders
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|, $$
If $X \sim \text{Unif}(0,1)$ (PDF $f_X(x) = 1$ for $0 \leq x \leq 1$) and $Y = X^2$:
The MGF of a random variable $X$ is:
$$ M_X(t) = \mathbb{E}[e^{tX}] = \int_{-\infty}^\infty e^{tx} f_X(x) \, dx. $$
$$ \mathbb{E}[X^n] = M_X^{(n)}(0) = \left. \frac{d^n}{dt^n} M_X(t) \right|_{t=0}. $$
Normal $\mathcal{N}(\mu, \sigma^2)$:
$$ M_X(t) = \exp\left(\mu t + \frac{\sigma^2 t^2}{2}\right). $$