Let \(p_n\) and \(q_n\) denote two probability mass functions on \(\mathbb {Z}^n\), for every integer \(n\geq 1\). That is, for all \(n\geq 1\):
- \(p_n(\mathbf {x})\geq 0\) and \(q_n(\mathbf {x})\geq 0\) for all \(\mathbf {x}\in \mathbb {Z}^n\); and
- \(\sum _{\mathbf {x}\in \mathbb {Z}^n}p_n(\mathbf {x}) =\sum _{\mathbf {x}\in \mathbb {Z}^n}q_n(\mathbf {x})=1\).
Now suppose \(\{X_i\}_{i=1}^{\infty }\) is a collection of random variables such that \((X_1,\ldots ,X_n)\) has mass function \(p_n\) for every \(n\geq 1\). That is, \[ \mathbb {P}\{X_1=x_1,\ldots ,X_n=x_n\} = p_n(x_1,\ldots ,x_n) \qquad \text {for all }(x_1,\ldots ,x_n)\in \mathbb {Z}^n. \]
- Prove that \(p_n(X_1,\ldots ,X_n)>0\) a.s. for all \(n\geq 1\).
- Prove that \(\{Z_n\}_{n=1}^{\infty }\) is a martingale, where, for all \(n\geq 1\), \[ Z_n:= \frac {q_n(X_1,\ldots ,X_n)}{p_n(X_1,\ldots ,X_n)}, \] almost surely on the \(\mathbb {P}\)-measure-one event \(\{p_n(X_1,\ldots ,X_n)>0\}\), and \(Z_n:=0\) otherwise.
- Prove that \(\lim _{n\to \infty }Z_n\) exists a.s. and is finite a.s. (This is a starting point for likelihood-ratio testing in classical statistics.)