Theorem (uniform law of large numbers in compact domain)

Let $X_1, X_2, \ldots$ be iid copies of $X$ in $\mathcal{X}\subseteq \R^d$, $Θ\subset \R^k$ and $g: \mathcal{X}\times Θ\to \R$ is measurable.

Suppose

  1. $Θ$ is compact;

  2. $θ \mapsto g(x, θ)$ is continuous as $x\in \mathcal{X}$; and

  3. there exists a measurable function $G: \mathcal{X}\to \R$ such that $G(x) \geq g(x,θ)$ for all $x\in \mathcal{X}, θ\in Θ$ and $\expect |G(X)| < \infty$.

Then $$ \begin{align*} \sup_{θ\in Θ} \left|\frac{1}{n}\sum_{i=1}^{n} g(X_i, θ) - \expect g(X, θ)\right| \xrightarrow{a.s.} 0. \qquad \text{as $n\to \infty$}. \end{align*} $$