II Principles of Statistics
Let $X$ be a random variable.
A statistical model is any family $\sb{f(θ)}{θ\in Θ}$ of probability density functions or $\sb{P_θ}{θ\in Θ}$ of laws.
The set $Θ$ is called the parameter space.
A model $\sb{P_θ}{θ\in Θ}$ is correctly specified if there exists $θ_0\in Θ$ such that $P_{θ_0}$ is the law of $X$. We call $θ_0$ the true parameter (not necessarily unique).
Let $(X_n: n\in \N)$, $X$ be random vectors in $\R^k$, defined on the same probability space $(Ω, \mathcal{A}, \mathcal{P})$.
We say that $X_n$ converges to $X$ almost surely or $X_n \xrightarrow{\text{a.s.}} X$ as $n\to\infty$ if $$ \begin{align*} \prob(\|X_n - X\|_2 \to 0 \text{ as } n\to \infty)\equiv \prob(w\in Ω : \|X_n(ω) - X(ω)\|_2 \to 0 \text{ as }n\to \infty) = 1. \end{align*} $$
We say that $X_n$ converges to $X$ in probability or $X_n \xrightarrow{p} X$ as $n\to \infty$ if for all $ε>0$, $$ \begin{align*} \prob(\|X_n - X\|_2 > ε) \to 0 \qquad \text{as }n\to \infty. \end{align*} $$
We say that $X_n$ converges in distribution to $X$ or $X_n \xrightarrow{d} X$ if $$ \begin{align*} \prob(X_n \preceq t) \to \prob(X\preceq t) \qquad n\to \infty \end{align*} $$ (writing $X \preceq t$ for a partial order $X_1 \leq t_1, \ldots, X_k \leq t_k$) for all $t$ where the map $t \mapsto \prob(X\preceq t)$ is continuous.
Facts:
$X_n \xrightarrow{a.s.} X \implies X_n\xrightarrow{p} X \implies X_n \xrightarrow{d} X$.
Continuous mapping theorem: if $(X_n), X$ take values in $\mathcal{X}\subseteq \R^n$ and $g: \mathcal{X}\to \R$ is continuous, then $X_n \xrightarrow{a.s./p/d} X \implies g(X_n) \xrightarrow{a.s./p/d} g(X)$.
Slutsky's lemma: suppose that $X_n \xrightarrow{d} X, Y_n \xrightarrow{d} c$ where $c\in \R$ is deterministic.
$Y_n \xrightarrow{p} c$.
$X_n + Y_n \xrightarrow{d} X+c$.
$X_n Y_n \xrightarrow{d} Xc$. Also $X_n/Y_n \xrightarrow{d} X/c$ if $c\neq 0$.
If $(A_n)$ is a sequence of matrices such that $(A_n)_{ij} \xrightarrow{p} A_{ij}$ for all $i,j$ where $A = (A_{ij})$ is deterministic, then $A_n X_n \xrightarrow{d} AX$.
If $X_n \xrightarrow{d} X$, then $X$ is bounded in probability denoted $X_n = O_\prob(1)$, i.e. for all $ε>0$, there exists $M(ε)<\infty$ and integer $N<\infty$ such that $\prob(\|X_n\|_2 > M(ε)) < ε$ for all $n\geq N$.
Let $X_1, X_2, \ldots$ be iid copies of $X$ taking values in $\R^k$. Assume $\expect \|X\|_2 < \infty$.
Then $$ \begin{align*} \frac{1}{n} \sum_{i=1}^{n} X_i \xrightarrow{a.s.}\expect[X_i]. \end{align*} $$
Suppose $X_n$ are square-integrable iid random variables in $\R^d$. Then $$ \begin{align*} \sqrt{n}\left(\frac{1}{n} \sum_{i=1}^{n} X_i - \expect[X_i]\right) \xrightarrow{d} N(0, \var(X_1)). \end{align*} $$
In particular for $d=1$, as $n\to\infty$, the normalised random variables $$ \begin{align*} Z_n = \frac{S_n - \mu n}{\sigma\sqrt{n}} \to Z \sim N(0,1) \text{ in distribution}. \end{align*} $$ Equivalently, for all $x\in\R$ $$ \begin{align*} \prob\left(\frac{S_n - \mu n}{\sigma\sqrt{n}} \leq x\right) \to \Phi(x) = \int_{-\infty}^{x} \frac{1}{\sqrt{2\pi}} e^{-y^2/2}\, dy. \end{align*} $$
Let $X_1, X_2, \ldots$ be iid copies of $X$ in $\mathcal{X}\subseteq \R^k$, and let $\mathcal{H}$ be a set of measurable functions $\mathcal{X} \to \R$.
Suppose for all $ε>0$, there exists finitely many measurable functions $\overline{h_1}, \underline{h_1}, \ldots, \overline{h_N}, \underline{h_N}: \mathcal{X}\to \R$ such that
-
the brackets $\sb{[\underline{h_j}, \overline{h_j}]}{j=1,\ldots,N}$ covers $\mathcal{H}$, i.e. for all $h\in \mathcal{H}$, there exists $j$ such that $\underline{h_j}(x) \leq h(x) \leq \overline{h_j}(x)$ for all $x\in \mathcal{X}$;
-
$\expect|\underline{h_j}(X)|, \expect|\overline{h_j}(X)| < \infty$ for all $j$; and
-
$\expect[\overline{h_j}(X) - \underline{h_j}(X)] < ε$ for all $j$.
Then $$ \begin{align*} \sup_{h\in \mathcal{H}} \left|\frac{1}{n}\sum_{j=1}^{n} h(X_i) - \expect h(X)\right| \xrightarrow{a.s.} 0 \qquad \text{as $n\to \infty$}. \end{align*} $$
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
-
$Θ$ is compact;
-
$θ \mapsto g(x, θ)$ is continuous as $x\in \mathcal{X}$; and
-
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*} $$
The likelihood of $θ$ at the observed data $X$ is $L_X: θ \mapsto p(X; θ)$, viewed as a function of $θ$.
The maximum likelihood estimator (MLE) of $θ$ is the value of $θ$ that maximises $L_X$, i.e. $$ \begin{align*} \hat θ_{\text{MLE}} = \arg\max_{θ\in Θ} L_X(θ), \end{align*} $$ which is an estimator for $θ$ (a function of $X$).
Properties:
-
$\hat θ_{\text{MLE}}$ is a function of any sufficient statistic. (Derivation)
-
Under a bijection $h$, the MLE for $η = h(θ)$ is $\hat η_{\text{MLE}} = h(\hat θ_{\text{MLE}})$.
-
Under certain conditions, the MLE is asymptotically normal: $\sqrt{n}(\hat θ_{\text{MLE}} - θ) \xrightarrow{d} N(0, I\inv)$ where $I$ is the Fisher information matrix.
All information about $θ$ obtained from an experiment with data $X$ is contained in the likelihood function of $θ$ given $X$.
This is stronger than the sufficiency principle.
Let $P_{θ_0}, P_θ$ be two laws on $\mathcal{X}$ with densities $f(\cdot , θ_0)$ and $f(\cdot , θ)$. Suppose $\expect_{θ_0}|\log(X, θ')| < \infty$ with $X \sim P_{θ_0}$ for $θ' = θ_0$ and $θ$.
The Kullback-Leibler divergence is $$ \begin{align*} \op{KL}(P_{θ_0}, P_θ) := l(θ_0) - l(θ) = \int_{\mathcal{X}} f(x, θ_0) \log \frac{f(x, θ_0)}{f(x,θ)} \d x \end{align*} $$ where $$ \begin{align*} l(θ') := \expect_{θ_0}[\log f(X, θ')] \qquad (X \sim P_{θ_0}). \end{align*} $$
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, with $X \sim f(\cdot , θ_0)$.
Suppose $\expect_{θ_0}|\log (X, θ)|<\infty$ for all $θ\in Θ$. Then the true parameter $θ_0$ maximises $$ \begin{align*} l(θ) := \expect_{θ_0}\log(X, θ) \end{align*} $$ and hence minimises $\op{KL}(P_{θ_0}, P_θ)$.
Moreover if $θ$ is identifiable (i.e. $f(\cdot, θ) = f(\cdot, θ') \iff θ = θ'$), then $θ_0$ is the unique maximiser of $l$ and hence the unique minimiser of $\op{KL}(P_{θ_0}, P_θ)$.
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ\subseteq \R^d$ and $X_1, \ldots, X_n$ be iid copies of $X$.
The score function is a random vector $$ \begin{align*} S_n(θ) := \pdd{θ} l_n(θ) ={}& \sum_{i=1}^{n} \pdd{θ} \log f(X_i, θ), \qquad θ \in \op{int}(Θ) \end{align*} $$ where $l_n(θ) := \sum_{i=1}^{n} \log f(X_i, θ)$ is the log-likelihood function.
The maximum likelihood estimator is a zero of $S_n$.
Under regularity conditions (namely $\int_{\mathcal{X}} \pdfd{f}{θ} \d x = \pdd{θ} \int_{\mathcal{X}} f \d x$), $$ \begin{align*} \expect_θ S_n(θ) = 0. \end{align*} $$ (Proof)
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ\subseteq \R^d$ and $X\sim f(\cdot, θ)$ be a random variable.
The Fisher information matrix is $$ \begin{align*} I(θ) := \expect_θ\left[\pdd{θ}\log f(X, θ) \; \pdd{θ^T} \log f(X, θ)\right] = \expect_θ[S(θ) \; S(θ)^T], \qquad θ\in \op{int}(Θ) \end{align*} $$ where $S(θ) = \pdd{θ}\log f(X, θ)$ is the score.
Under regularity conditions, (if $\int_{\mathcal{X}} \pdfd{f}{θ} \d x = \pdd{θ} \int_{\mathcal{X}} f \d x$ then) $$ \begin{align*} I(θ) = \var(S(θ)) \end{align*} $$ (Derivation) and (if $\int_{\mathcal{X}} \pdfxd{f}{θ_i}{θ_j} \d x = \pdxd{θ_i}{θ_j} \int_{\mathcal{X}} f \d x$ then) $$ \begin{align*} I(θ) = -\expect_θ\left[\pdd{θ} \pdd{θ^T} \log f(X, θ)\right]. \end{align*} $$ (Derivation)
If $X = (X_1, \ldots, X_n)$ and $X_i \sim f(\cdot, θ)$ are iid, then under regularity conditions (if $\int_{\mathcal{X}} \pdfd{f}{θ} \d x = \pdd{θ} \int_{\mathcal{X}} f \d x$ then) $$ \begin{align*} I_n(θ) := \expect_θ[S_n(θ) S_n(θ)^T] = n \, I(θ) \end{align*} $$ where $S_n(θ) = \sum_{i=1}^{n} \pdd{θ} \log f(X_i, θ)$. (Derivation)
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ\subseteq \R^d$, $X_1, \ldots, X_n$ be iid random variables, and $\tilde Φ = \tilde Φ(X_1, \ldots, X_n)$ be an estimator of $Φ = Φ(θ)\in \R^k$, a differentiable function $Θ\to \R^k$.
Under regularity conditions, $$ \begin{align*} \var_θ(\tilde Φ) \geq \frac{1}{n} \pdfd{\expect_θ[\tilde Φ]}{θ}(θ)^T \, I(θ)\inv \, \pdfd{\expect_θ[\tilde Φ]}{θ}(θ). \end{align*} $$
In particular, if $\tilde Φ$ is unbiased, then $$ \begin{align*} \var_θ(\tilde Φ) \geq \frac{1}{n} \pdfd{Φ}{θ}(θ)^T \, I(θ)\inv \, \pdfd{Φ}{θ}(θ). \end{align*} $$
However, non-regular estimators can have better asymptotic variance. For example, for $\hat θ_n$ the maximum likelihood estimator in a regular parameter model, define the Hodge's estimator $$ \begin{align*} \tilde θ_n = \begin{cases} \hat θ_n, &|\hat θ_n| \geq n^{-1/4}, \\ 0, &|\hat θ_n|<n^{-1/4}. \end{cases} \end{align*} $$
For $θ_0 \neq 0$, $\tilde θ_n - \hat θ_n \xrightarrow{p} 0$ so $\sqrt{n}(\tilde θ_n - θ_0) \xrightarrow{d} N(0, I\inv(θ_0))$.
For $θ_0 = 0$, $\tilde θ_n \xrightarrow{d} δ_0$.
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, with true parameter $θ_0$ for $X$. Let $\hat θ_n$ be the maximum likelihood estimator based on $X_1, \ldots, X_n$ iid copies of $X$.
Suppose
-
$Θ$ is compact;
-
$θ\mapsto f(x, θ)$ is continuous as $x\in \mathcal{X}$;
-
$f(x,θ) > 0$ for all $x\in \mathcal{X}, θ\in Θ$;
-
$\expect \sup_{θ\in Θ}|\log f(X, θ)| < \infty$; and
-
identifiability: $f(\cdot, θ) = f(\cdot, θ')\iff θ = θ'$;
Then the maximum likelihood estimator $\hat θ_n$ exists and is consistent, i.e. $$ \begin{align*} \hat θ_n \xrightarrow{p} θ_0 \qquad \text{as $n\to \infty$}. \end{align*} $$
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, and $θ_0$ be the true parameter of $X$. Let $\hat θ_n$ be the maximum likelihood estimator based on $X_1, \ldots, X_n$ iid copies of $X$.
Under regularity conditions, $$ \begin{align*} \sqrt{n}(\hat θ_n - θ_0) \xrightarrow{d} N(0, I(θ_0)\inv) \end{align*} $$ where $I(θ_0)$ is the Fisher information matrix.
This shows $\hat θ_n$ achieves the Cramér-Rao lower bound asymptotically.
Suppose $\hat θ_n$ is a sequence of estimators in $Θ\subseteq \R^d$ satisfying $$ \begin{align*} r_n(\hat θ_n - θ_0) \xrightarrow{d} Z \end{align*} $$ for some deterministic $r_n \to \infty$.
For a continuously differentiable function $Φ: Θ \to \R^k$, $$ \begin{align*} r_n(Φ(\hat θ_n) - Φ(θ_0)) \xrightarrow{d} \pdfd{Φ}{θ^T}(θ_0) \cdot Z. \end{align*} $$
If $\hat θ_n$ is the maximum likelihood estimator in a regular model, then $$ \begin{align*} \sqrt{n}(Φ(\hat θ_n) - Φ(θ_n)) \xrightarrow{d}N\Bigl(0, \pdfd{Φ}{θ^T}(θ_0)\; I(θ_0)\inv \;\pdfd{Φ}{θ}(θ_0)\Bigr) \end{align*} $$ and hence the plug-in MLE $Φ(\hat θ_n)$ achieves the Cramér-Rao lower bound asymptotically.
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ \subseteq \R^p$, and $X_1, X_2, \ldots$ are iid copies of $X$ with true parameter $θ_0$.
Define the observed Fisher information matrix $$ \begin{align*} i_n(θ) = \frac{1}{n} \sum_{i=1}^{n} \pdd{θ} \log f(X_i, θ) \pdd{θ^T} \log f(X_i, θ) \end{align*} $$ or $$ \begin{align*} j_n(θ) = -\frac{1}{n} \sum_{i=1}^{n} \pdd{θ} \pdd{θ^T} \log f(X_i, θ). \end{align*} $$
Under regularity conditions, if $\hat θ_n$ is the maximum likelihood estimator, $$ \begin{align*} i_n(\hat θ_n) \xrightarrow{p} I(θ_0), \qquad j_n(\hat θ_n) \xrightarrow{p} I(θ_0). \end{align*} $$
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ \subseteq \R^p$, and $X_1, X_2, \ldots$ be iid copies of $X$ with true parameter $θ_0$.
Assume regularity conditions. Let $\hat θ_n$ be the maximum likelihood estimator based on $X_1, \ldots, X_n$. Choose any estimator $\hat I_n\xrightarrow{p}{}$$I(θ_0)$ (such as $i_n(\hat θ_n)$, $j_n(\hat θ_n)$, $I(\hat θ_n)$).
-
For all $j = 1, \ldots, p$, $$ \begin{align*} \frac{\sqrt{n}(\hat θ_{n,j} - θ_{0,j})}{\sqrt{(\hat I_n\inv)_{jj}}} \xrightarrow{d} N(0,1) \qquad \end{align*} $$ so there is an asymptotically $(1-α)$-confidence interval for $θ_{0,j}$ $$ \begin{align*} \left[\hat θ_{n,j} - \frac{z_α \sqrt{(\hat I_n\inv)_{jj}}}{\sqrt{n}}, \hat θ_{n,j} + \frac{z_α \sqrt{(\hat I_n\inv)_{jj}}}{\sqrt{n}}\right] \end{align*} $$ where $z_α$ is the upper $α/2$-quantile of a $N(0,1)$ distribution.
-
Moreover $$ \begin{align*} n(\hat θ_n - θ_0)^T \hat I_n (\hat θ_n - θ_0) \xrightarrow{d} χ_p^2, \end{align*} $$ so there is an asymptotically $(1-α)$-confidence set for $θ_0$ $$ \begin{align*} \sb{θ}{n(\hat θ_n - θ)^T \hat I_n(\hat θ_n - θ) \leq ξ_α} \end{align*} $$ where $ξ_α$ is the upper $α$ quantile of the $χ_p^2$ distribution.
This gives tests for simple null hypotheses regarding $θ_{0,j}$ or $θ_0$ with asymptotic size $α$.
Suppose the data $X$ follows $p(x; θ)$ where $θ$ is unknown. Let $H_0$$: θ \in Θ_0$ and $H_1$$: θ \in Θ_1$ be hypotheses.
The generalised likelihood ratio statistic is $$ \begin{align*} Λ(X) = \frac{\sup_{θ\in Θ_0 \cup Θ_1} L_X(θ)}{\sup_{θ\in Θ_0} L_X(θ)} = \frac{\sup_{θ\in Θ_0\cup Θ_1} p(X; θ)}{\sup_{θ\in Θ_0} p(X; θ)}. \end{align*} $$
A generalised likelihood ratio test is a test of the form $$ \begin{align*} T(X) = 1_{\set{Λ(X) > c}}. \end{align*} $$
Suppose $Θ_0\subseteq Θ_1$, and let $Λ(X)$ be the generalised likelihood ratio test for testing $H_0: θ\in Θ_0$ against $H_1: θ\in Θ_1\setminus Θ_0$.
Under regularity conditions, we have $$ \begin{align*} 2\log Λ(X) \xrightarrow{d} χ_{d_1-d_0}^2 \quad \text{as $n\to \infty$ under $H_0$} \end{align*} $$ where $d_1, d_0$ are the degrees of freedom (number of free parameters) of $H_1$ and $H_0$.
Frequentists treat $θ$ as a fixed quantity, while Bayesians treat $θ$ as a probabilistic distribution on $Θ$ and view statistical inference as updating one's belief about $θ$.
Suppose initially we have a prior distribution $π(θ)$. After observing data $X=x$, the posterior distribution of $θ$ is given by Bayes' theorem $$ \begin{align*} \underbrace{π(θ\mid x)}_{\text{posterior}} = \frac{π(θ)\,p(x\mid θ)}{p(x)} \propto \underbrace{p(x\mid θ)}_{\text{likelihood}}\,\underbrace{π(θ)}_{\text{prior}}. \end{align*} $$
$π(θ\mid x)$ can be a probability distribution even if the function $π$ may not. In this case we say $π$ is an improper prior.
The prior predictive distribution is the marginal distribution of $X$ $$ \begin{align*} π(x) = \int_{Θ} p(x\midθ) \,π(θ) \d θ \end{align*} $$ and the posterior predictive distribution is the conditional distributional of an iid copy $X'$ given $X$ $$ \begin{align*} π(x'\mid x) = \int_{Θ} p(x'\mid θ) \, π(θ\mid x)\d θ. \end{align*} $$
We say a family of prior distributions is conjugate to a likelihood model if the posterior distribution is in the same family.
-
Bayesian obeys the likelihood principle and thus the sufficiency principle. (Derivation)
Given some loss function $L: Θ\times Θ \to \R$, the Bayes risk of an estimator $\tilde θ$ for $θ$ is $$ \begin{align*} R_X(\tilde θ) = \expect_π(L(θ, \tilde θ)\mid X) = \int_{Θ} L(θ, \tilde θ(X))\, π(θ\mid X) \d θ. \end{align*} $$
The Bayes estimator is $$ \begin{align*} \hat θ(X) = \arg\min_{\tilde θ} R_X(\tilde θ). \end{align*} $$
-
The Bayes estimator with the quadratic loss $L(θ, \tilde θ) = (θ - \tilde θ)^2$ is the posterior mean. (Derivation)
-
The Bayes estimator with the absolute loss $L(θ, \tilde θ) = |\tilde θ - θ|$ is the posterior median. (Derivation)
A $(1-α)$-credible interval for $θ$ is a random interval $[L(X), U(X)]$ such that $$ \begin{align*} π(L(X) \leq θ \leq U(X)\mid X) = 1-α. \end{align*} $$
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model with $Θ\subseteq \R^p$.
The Jeffreys prior is any (possibly improper) prior satisfying $$ \begin{align*} π_{J,θ}(θ) \propto \sqrt{\det I(θ)} \end{align*} $$ where $I(θ)$ is the Fisher information matrix.
It is invariant under a change of coordinates in the parameter space $Θ$. (Proof) Therefore it is an uninformative prior.
Let $\sb{f(\cdot ,θ)}{θ\in Θ}$ be a statistical model, $Θ\subseteq \R^p$, and $X_1, X_2, \ldots$ are iid copies of $X$. Work in a frequentist framework: suppose the true parameter is $θ_0$. Let $π$ be a prior on $θ$ and $π_n(θ) = π(θ \mid X_1, \ldots, X_n)$ be the (random) posterior distribution.
Assume
-
the usual regularity conditions; and
-
$π$ has a continuous density at $θ_0$ and $π(θ_0)>0$.
Then $π_n$ converges to a $N(\hat θ_n, I(θ_0)\inv/n)$ distribution in total variation almost surely, i.e. writing $\hat ϕ_n$ for the density of $N(\hat θ_n, I(θ_0)\inv/n)$, $$ \begin{align*} 2\|π_n - \hat ϕ_n\|_{TV} := \int_{Θ} |π_n(θ) - \hat ϕ_n(θ)| \d θ \xrightarrow{a.s.} 0. \end{align*} $$
Note for any measurable set $A\subseteq Θ$, $$ \begin{align*} |π_n(A) - \hat ϕ_n(A)| \leq 2\|π_n - \hat ϕ_n\|_{TV} \xrightarrow{a.s.} 0. \end{align*} $$
Suppose $Θ\subseteq \R$ and consider a $(1-α)$-credible interval $$ \begin{align*} C_n := \sb{θ}{\sqrt{n}|θ - \hat θ_n| < R_n} \end{align*} $$ where $R_n$ is chosen such that $π_n(C_n) = 1-α$ Then $C_n$ is an asymptotic $(1-α)$-confidence interval, i.e. $\prob_{θ_0}(θ_0 \in C_n) \to 1-α$.
Given a statistical model $\sb{f(\cdot ,θ)}{θ\in Θ}$, let a sample $X$ takes value in $\mathcal{X}$ and there is an action space $\mathcal{A}$.
A decision rule is a function $δ: \mathcal{X}\to \mathcal{A}$.
A loss function is a function $L: \mathcal{A}\times Θ \to [0,\infty)$.
The risk is $$ \begin{align*} R(δ, θ) := \expect_θ[L(δ(X), θ)] = \int_{\mathcal{X}} L(δ(X), θ) f(x,θ) \d x. \end{align*} $$
(Context) Given a prior distribution $π$ on $Θ$, the $π$-Bayes risk of a decision rule $δ$ is $$ \begin{align*} R_π(δ) := \expect_π[L(δ(X), θ)] \equiv \int_{Θ} R(δ,θ) \, π(θ) \d θ \equiv \int_{Θ} \int_{\mathcal{X}} L(δ(X), θ) \, f(x\mid θ)\, π(θ) \d x \d θ. \end{align*} $$
If $δ_π$ is a decision rule that minimises the $π$-Bayes risk, then we call it a $π$-Bayes decision rule.
See also Bayes estimator.
(Context) Given a prior distribution $π$ on $Θ$, the $π$-posterior risk of a decision rule $δ$ given an observation $x\in \mathcal{X}$ is $$ \begin{align*} \expect_π[L(δ(x), θ) \mid x] \equiv \int_{Θ} R(δ(x), θ) \,π(θ\mid x) \d θ. \end{align*} $$
(Context) Let $δ$ be a decision rule and $π$ be a prior on $Θ$.
If $δ$ minimises the $π$-posterior risk for all $x\in \mathcal{X}$, then $δ$ is a $π$-Bayes rule.
For the quadratic risk $L(δ, θ) = (δ - θ)^2$, a $π$-Bayes rule is $$ \begin{align*} δ_π(x) = \expect_π[θ \mid x]. \end{align*} $$ (Derivation)
(Context) Let $δ(x)$ be an estimator of $θ$.
Under the quadratic loss $L(δ,θ) = (δ - θ)^2$, if
-
$δ$ is a $π$-Bayes rule for some prior $π$ on $Θ$; and
-
$δ$ is unbiased,
then $δ(X) = θ$ almost surely.
(Context) A prior $λ$ on $Θ$ is said to be least favourable if $$ \begin{align*} R_λ(δ_λ) \leq R_π(δ_π) &&\text{for all priors $π$}. \end{align*} $$
(Context) Let $λ$ be a prior on $Θ$.
If a $λ$-Bayes rule $δ_λ$ has equal $π$-Bayes risk $R_π(δ_λ)$ and maximal risk $R_m(δ_λ)$, then
-
$δ_λ$ is minimax;
-
if $δ_λ$ is the unique $λ$-Bayes rule, then it is the unique minimax rule;
-
$λ$ is least favourable.
A sufficient condition is that $R(δ_λ, θ)$ is constant in $θ$.
(Context) Let $δ,δ'$ be decision rules.
Say $δ'$ dominates $δ$ if
-
$R(δ', θ) \leq R(δ, θ)$ for all $θ\in Θ$; and
-
$R(δ', θ) < R(δ, θ)$ for some $θ\in Θ$.
If such $δ'$ exists, say $δ$ is inadmissible. Otherwise $δ$ is admissible.
Any unique Bayes rule is admissible. (Proof)
If $δ$ is admissible and $R(δ, θ)$ is constant in $θ$, then $δ$ is minimax. (Proof)
Complete class theorem: all admissible estimators are Bayes estimators or limits of Bayes estimators.
Suppose $X_1, \ldots, X_n$ are iid copies of $X\sim N(θ, 1)$ for some unknown parameter $θ$.
The sample mean $\overline{X_n}$ is an admissible and minimax estimator of $θ$ under the quadratic loss $L(δ, θ) = (δ - θ)^2$ (under regularity conditions).
Let $X\sim N_p(θ, I_p)$ where $θ$ is an unknown parameter. Define the James-Stein estimator $$ \begin{align*} δ^\text{JS}(X) = \left(1 - \frac{p-2}{\|X\|^2}\right) X. \end{align*} $$
Under the quadratic loss $L(δ,θ) = (δ - θ)^2$, its risk is $$ \begin{align*} R(δ^\text{JS}, θ) = p - (p-2)^2 \expect_θ\left[\frac{1}{\|X\|^2}\right] \end{align*} $$ so $δ^\text{JS}$ dominates the maximum likelihood estimator $X$ for $p\geq 3$.
$δ^\text{JS}$ is not admissible either as it is dominated by $$ \begin{align*} δ^\text{JS+}(X) = \max\left\{0, \;1-\frac{p-2}{\|X\|^2}\right\} X. \end{align*} $$
Consider a regression problem with $X\in \mathcal{X}$ and $Y\in \set{0,1}$. Assume $X\mid Y = 0$ has density $f_0$ and $X\mid Y = 1$ has density $f_1$. Suppose $π$ is prior on $Y$, with $π_0 = \prob[Y = 0]$ and $π_1 = \prob[Y = 1]$.
The regression function is $$ \begin{align*} η(x) := \prob[Y = 1 \mid X = x] = \frac{π_1 f_1(x)}{π_0 f_0(x) + π_1 f_1(x)}. \end{align*} $$
A classifier is a decision rule $δ: \mathcal{X} \to \set{0,1}$.
The 0-1 loss is $$ \begin{align*} L(δ(X), Y) = \mathbb{1}_{\set{δ(X) \neq Y}}. \end{align*} $$
A classifier $δ$ is a Bayes classifier if it is a $π$-Bayes rule, i.e. it minimises the $π$-Bayes risk $$ \begin{align*} R_π(δ) = \prob[δ(X) \neq Y]. \end{align*} $$
A Bayes classifier is given by $$ \begin{align*} δ_π(x) = \begin{cases} 1, &\text{if $\frac{π_1 f_1(x)}{π_0 f_0(x)}>1$}, \\ 0, &\text{otherwise}. \end{cases} \end{align*} $$
If $\prob[\frac{π_1 f_1(X)}{π_0 f_0(X)} = 1] = 0$, then any Bayes classifier $δ$ satisfies $δ(X) = δ_π(X)$ almost surely.
The correlation of two square-integrable random variables $X,Y$ is $$ \begin{align*} \op{corr}(X,Y) = \frac{\cov(X,Y)}{\sqrt{\var(X)}\sqrt{\var(Y)}}. \end{align*} $$
Let $X_1, \ldots, X_n$ be iid copies of a square integrable random vector $X = (X^{(1)}, \ldots, X^{(p)})$ in $\R^p$. Form the matrix $\mathbf{X} = \pmat{X_1^T \\ \vdots \\ X_n^T}$.
Define the sample variance $$ \begin{align*} \hat Σ := \frac{1}{n} \sum_{i=1}^{n} (X_i - \overline{X_n})(X_i - \overline{X_n})^T = \frac{1}{n}((I - P)\mathbf{X})^T((I-P)\mathbf{X}) = \frac{1}{n}\mathbf{X}^T (I-P) \mathbf{X} \end{align*} $$ where $P = \frac{1}{n} \v 1 \v 1^T$ is the projection matrix onto $\mathbf{1} = (1, \ldots, 1)^T\in \R^p$.
Define the sample correlation $$ \begin{align*} \hat ρ_{jk} := \frac{\hat Σ_{jk}}{\sqrt{\hat Σ_{jj} \hat Σ_{kk}}} = \frac{((I-P)\mathbf{X}^{(j)})^T((I-P) \mathbf{X}^{(k)})}{\|(I-P) \mathbf{X}^{(j)}\| \|(I-P) \mathbf{X}^{(k)}\|} = \frac{\sum_{i} (X_i^{(j)} - \overline{X_n}^{(j)})(X_i^{(k)} - \overline{X_n}^{(k)})}{\sqrt{\sum_{i} (X_i^{(j)} - \overline{X_n}^{(j)})^2 \cdot \sum_{i} (X_i^{(k)} - \overline{X_n}^{(k)})^2}}. \end{align*} $$
In a model $X \sim N(μ, Σ)$, $\hat Σ$ is the maximum likelihood estimator of $Σ$, and $\hat ρ_{jk}$ is the maximum likelihood estimator of $\op{corr}(X^{(j)}, X^{(k)})$.
In general, $\hat Σ \xrightarrow{p} \var(X)$ by the strong law of large numbers, and $\sqrt{n}(\hat Σ - \var(X))$ converges in distribution to a normal by the central limit theorem.
Given random vectors $X, Y, Z$, we say that $X$ and $Y$ are conditionally independent given $Z$ (or $X \perp\!\!\!\perp Y \mid Z$) if $$ \begin{align*} f_{XY\mid Z}(x,y\mid z) = f_{X\mid Z}(x \mid z) f_{Y\mid Z}(y\mid z). \end{align*} $$ Equivalently, $$ \begin{align*} X \perp\!\!\!\perp Y \mid Z \iff f_{X\mid Y, Z}(x\mid y,z) = m(x,z) \end{align*} $$ for some function $m$, whenever $f_{Y,Z}(y,z) > 0$.
The partial correlation of $X$ and $Y$ given $Z$ is the correlation of $X$ and $Y$ in the conditional density $f_{X,Y\mid Z}(\cdot ,\cdot \mid z)$: $$ \begin{align*} ρ_{X,Y\mid Z}(z) = \frac{\cov(X,Y\mid Z = z)}{\sqrt{\var(X\mid Z=z) \var(Y\mid Z = z)}}. \end{align*} $$
If $X,Y$ are conditionally independent given $Z$, then $ρ_{X,Y\mid Z} \equiv 0$.
Let $Y\in \R^m, W\in \R^n$ be jointly Gaussian $$ \begin{align*} \pmat{Y \\ W} \sim N\left(\pmat{μ_1 \\ μ_2}, \pmat{Σ_{11} & Σ_{12} \\ Σ_{21} & Σ_{22}}\right) \end{align*} $$ where $Σ = \pmat{Σ_{11} & Σ_{12} \\ Σ_{21} & Σ_{22}}$ is positive definite. Then $$ \begin{align*} Y \mid W = w \sim N(μ_1 + Σ_{12} Σ_{22}\inv(w - μ_2),\; Σ_{11} - Σ_{12} Σ_{22}\inv Σ_{21}). \end{align*} $$
Therefore $$ \begin{align*} Y = μ_1 + Σ_{12} Σ_{22}\inv(W - μ_2) + ε \end{align*} $$ where $ε\sim N(0, Σ_{11} - Σ_{12} Σ_{22}\inv Σ_{21})$ and $W$ are independent.
Note $\var(Y \mid Z) = Σ_{11} - Σ_{12} Σ_{22}\inv Σ_{21}$ does not depend on $Z$.
Let $(W_i, Z_i)_{i=1}^n$ be iid copies of $(W, Z)$, with $W\in \R^m, Z \in \R^n$. Form the matrices $\mathbf{W} = \pmat{W_1^T \\ \vdots \\ W_n^T}, \mathbf{Z} = \pmat{Z_1^T \\ \vdots \\Z_n^T}$.
The sample conditional variance of $W$ given $Z$ is $$ \begin{align*} \hat Ω = \frac{1}{n}((I - P) \mathbf{W})^T ((I - P) \mathbf{W}) = \frac{1}{n}\mathbf{W}^T (I-P) \mathbf{W} \end{align*} $$ where $P$ is the projection matrix onto the columns space of $\pmat{\v 1 & \mathbf{Z}}$.
The sample partial correlation of $W^{(j)}$ and $W^{(k)}$ given $Z$ is $$ \begin{align*} \hat ρ_{W^{(j)}, W^{(k)}\mid Z} = \frac{\hat Ω_{jk}}{\sqrt{\hat Ω_{jj} \hat Ω_{kk}}} = \frac{((I - P)\mathbf{W}^{(j)})^T ((I-P) \mathbf{W}^{(k)})}{\|(I-P)\mathbf{W}^{(j)}\| \|(I - P) \mathbf{W}^{(k)}\|}. \end{align*} $$
If $(W,Z)$ is jointly Gaussian, then $\hat Ω$ is the maximum likelihood estimator of $\var(W\mid Z)$ and $\hat ρ_{W^{(j)}, W^{(k)}\mid Z}$ is the maximum likelihood estimator of $ρ_{W^{(j)},W^{(k)}\mid Z}$. (Proof)
Let $(X_i, Y_i, Z_i)_{i=1}^n$ be iid copies of $(X,Y,Z)$ where $X\in \R$, $Y\in \R$, $Z\in \R^p$. Form the matrices $\mathbf{X} = \pmat{X_1 \\ \vdots \\X_n}$, $\mathbf{Y} = \pmat{Y_1 \\ \vdots \\ Y_n}$, $\mathbf{Z} = \pmat{Z_1^T \\ \vdots \\Z_n^T}$.
Assuming $\pmat{\v 1 & \mathbf{X} & \mathbf{Z}}$ has full column rank, let $P_0$, $P$ be the orthogonal projection matrices onto $\op{Col}\pmat{1 & \mathbf{Z}}$ and $\op{Col}\pmat{1 & \mathbf{X} & \mathbf{Z}}$.
Then the sample partial correlation is given by $$ \begin{align*} \hat ρ_{X,Y\mid Z} = \frac{\|(P - P_0) \mathbf{Y}\|}{\|(I-P_0) \mathbf{Y}\|}. \end{align*} $$
The $F$-statistic is then $$ \begin{align*} \frac{\|(P - P_0) \mathbf{Y}\|^2}{\|(I-P)\mathbf{Y}\|^2/(n-p-2)} = (n-p-2)\frac{\hat ρ_{X,Y\mid Z}^2}{1 - \hat ρ_{X,Y\mid Z}^2}. \end{align*} $$
Let $X_1, \ldots, X_n$ be iid copies of a random vector $X\in \R^p$.
-
Construct $\hat Σ = \frac{1}{n} \sum_{i=1}^{n} (X_i - \overline{X_n}) (X_i - \overline{X_n})^T$.
-
Find the first $k$ eigenvectors $\hat v_1, \ldots, \hat v_k$ of $\hat Σ$ with largest magnitude of eigenvalue.
-
Project the samples onto these vectors $$ \begin{align*} \pmat{X_1^T \\ \vdots \\ X_n^T}\pmat{\hat v_1 & \ldots &\hat v_k}. \end{align*} $$
Suppose our desired density function is $f$ in an open interval $I$. Then the distribution function $F(x) = \int_{-\infty}^{x} f(y) dy$ is an increasing map from $I$ to $(0,1)$. Let the quantile function be $$ \begin{align*} G(u) = \inf\sb{x\in\R}{u\leq F(x)}. \end{align*} $$ (When $f$ is positive everywhere, $G=F\inv$.) Note that for all $x\in\R, u\in(0,1)$, $$ \begin{align*} G(u) \leq x \iff u \leq F(x). \end{align*} $$ Then when we have $U\sim U[0,1]$ and let $X=G(U)$, we have $$ \begin{align*} \prob(X\leq x) = \prob(G(U)\leq x) = \prob(U\leq F(x)) = F(x) \end{align*} $$ so $X$ has a distribution function $F_X$.
Let $X_1, \ldots, X_n$ be iid samples of $X \sim F$.
The Monte Carlo estimator for $\expect g(X)$ is $$ \begin{align*} \hat I = \frac{1}{n} \sum_{i=1}^{n} g(X_i). \end{align*} $$
$\var(\hat I) = \var(g(X))/n$.
The strong law of large number says $\hat I \xrightarrow{a.s.} \expect g(X)$.
Let $X$ have density $f$, and we wish to estimate $\expect g(X)$. However $f$ is hard to sample.
Let $\tilde f$ be a density which is easy to sample. Then since $$ \begin{align*} \expect_{X\sim f}[g(X)] = \expect_{X\sim \tilde f}\left[g(X) \cdot \frac{f(X)}{\tilde f(X)}\right], \end{align*} $$ we can sample $X_1, X_2, \ldots \sim \tilde f$ iid and use the Monte Carlo estimator $$ \begin{align*} \hat I_\text{IS} = \frac{1}{n} \sum_{i=1}^{n} g(X_i) \frac{f(X_i)}{\tilde f(X_i)} \xrightarrow{a.s.} \expect_{X\sim f}[g(X)]. \end{align*} $$
This works best when $\tilde f \propto fg$ approximately, since $\var\hat I_{\text{IS}} = \var_{X\sim \tilde f}(\frac{g(X)f(X)}{\tilde f(X)})$.
Let $X$ have a density $f$ (which is difficult to sample) and we wish to estimate $\expect g(X)$.
Let $X_1, X_2, \ldots\sim \tilde f$ and $U_1, U_2, \ldots\sim U[0,1]$ all independent such that $f(x) \leq M \tilde f(x)$. Take $$ \begin{align*} K := \min \sb{i\geq 1}{U_i \geq \frac{f(X_i)}{M \tilde f(X_i)}}, \qquad Y := X_K. \end{align*} $$ Then $Y \sim f$.
Note $\expect[K] = \frac{\int M \tilde f(x) \d x}{\int f(x) \d x} = M$.
A sequence $\ouline{X} = (X_n)_{n\geq 0}$ of random variables taking values in a discrete (finite or countably finite) set $I$ is called a Markov chain with state space $I$ if for all $x_0, x_1, \ldots, x_n, x_{n+1}\in I$, $$ \begin{align*} \prob(X_{n+1} = x_{n+1} | X_n = x_n, \ldots, X_0 = x_0) = \prob(X_{n+1} = x_{n+1} | X_n = x_n). \end{align*} $$
More generally, for a measurable space $\mathcal{X}$, $\ouline{X}$ is a Markov chain taking value in $\mathcal{X}$ if $$ \begin{align*} \prob(X_{n+1} \in B \mid X_n = x_n, \ldots, X_0 = x_0) = K(x_n, B) \end{align*} $$ for some function $K$ called the Markov kernel such that
-
$K(t, \cdot)$ is a probability measure for all $t\in \mathcal{X}$;
-
$t \mapsto K(t, B)$ is measurable for all $B\in \mathcal{X}$ measurable.
Consider a Markov chain on $I$ with a transition matrix $P$.
A measure $\lambda$ on $I$ is said to be invariant with respect to $P$ if $$ \begin{align*} \lambda &= \lambda P &&\text{or equivalently} & \lambda_j = \sum_{i\in I} \lambda_i P(i,j). \end{align*} $$
More generally, for a Markov kernel $K$, a measure $λ$ is invariant if $$ \begin{align*} λ(B) = \int_{\mathcal{X}} K(t, B) \,λ(\d t). \end{align*} $$
If $λ$ has a density $f$ and $K(t,\cdot )$ has a density $k(t,\cdot )$, then $$ \begin{align*} f(x) = \int_{\mathcal{X}} k(t,x) f(t) \d t. \end{align*} $$
-
Invariant distribution can be defined the same way.
To generate samples from a multivariate distribution $(X,Y)$ with joint density $f_{XY}$, let $f_{X\mid Y}$ and $f_{Y\mid X}$ be the conditional densities.
Given an initial state $(X_1, Y_1)$, form a Markov chain $(X_n, Y_n)_{n\geq 1}$ by
-
sampling $X_{n+1}\sim f_{X\mid Y}(Y_n)$; then
-
sampling $Y_{n+1} \sim f_{Y\mid X}(X_{n+1})$.
Therefore the Markov density is $$ \begin{align*} k((x, y), (x',y')) = f_{Y\mid X}(y'\mid x') f_{X\mid Y}(x'\mid y) \end{align*} $$
Then $f_{XY}$ is an invariant distribution of $(X_n, Y_n)_{n\geq 1}$.
This is efficient when $X$ and $Y$ are approximately independent.
We wish to sample $X$ with a density $f$ in $\mathcal{X}$.
Let $q(t,s)$ be a Markov kernel density in $\mathcal{X}$ (which is easy to compute), called the proposal kernel density. Given a initial state $X_0\in \mathcal{X}$,
-
draw a proposal $S_n\sim q(X_n, \cdot)$; and
-
take $$ \begin{align*} X_{n+1} := \begin{cases} S_n, &\text{if $A_n=1$}, \\ X_n, &\text{if $A_n = 0$} \end{cases} \end{align*} $$ where $A_n \sim{}$$\op{Bern}$$(a(X_n, S_n))$ and $a$ is the acceptance probability $$ \begin{align*} a(t,s) = \min\left\{1, \frac{f(s) q(s,t)}{f(t) q(t,s)}\right\}. \end{align*} $$
If $f(t) > 0$ and $q(t,s) > 0$ for all $t,s$, then $f$ is the invariant distribution of $(X_n)_{n\geq 0}$.
Let $X_1, X_2, \ldots$ be iid copies of $X$. Let $T_n := T(X_1, \ldots, X_n)$ be an estimator of $θ$, and write $T_{(-j)} := T(X_1, \ldots, X_{j-1}, X_{j+1}, \ldots, X_n)$.
The jackknife bias estimate is $$ \begin{align*} \hat B_n := (n-1)\left(\frac{1}{n} \sum_{j=1}^{n} T_{(-j)} - T_n\right) \end{align*} $$ and the jackknife estimator is $$ \begin{align*} \tilde T_{\text{JACK}} := T_n - \hat B_n = nT_n - \frac{n-1}{n} \sum_{j=1}^{n} T_{(-j)}. \end{align*} $$
Let $T_1(X_1), T_2(X_1, X_2), \ldots$ be a sequence of estimators of $θ$ based on iid sample $X_1, X_2, \ldots$ of $X$.
If the bias of $T_n$ follows $$ \begin{align*} \expect_θ[T_n] - θ = \frac{a}{n} + \frac{b}{n^2} + O\left(\frac{1}{n^3}\right), \end{align*} $$ then the bias of the jackknife estimator $\tilde T_\text{JACK}$ follows $$ \begin{align*} \expect_θ[\tilde T_{\text{JACK}}] - θ = O\left(\frac{1}{n^2}\right). \end{align*} $$
If $θ = g(\expect[X])$ for some $g: \R^p \to \R$ is a smooth, then $T_n(X_1, \ldots, X_n) = g(\overline{X_n})$ satisfies the hypothesis. (Informal derivation)
Let $X_1, \ldots, X_n$ be iid copies of $X$.
The empirical distribution $\mathbb{P}_n$ is the random discrete distribution that puts a mass of $1/n$ at each $X_i$: $$ \begin{align*} \mathbb{P}_n(A) = \frac{1}{n} \sum_{i=1}^{n} \mathbb{1}_A(X_i). \end{align*} $$
A sample $X_1^\ast, \ldots, X_n^\ast\mid X_1, \ldots, X_n \sim \mathbb{P}_n$ iid is known as a bootstrap resample.
Let $F:\R\to [0,1]$ be a distribution function. The quantile function is $$ \begin{align*} F\inv: (0,1)&\to \R \\ p &\mapsto \inf \sb{t\in \R}{F(t)\geq p}. \end{align*} $$
$F\inv(p) \leq t$ iff $p\leq F(t)$.
If $U\sim U[0,1]$, then $F\inv(U) \sim F$.
If $F, F_1, F_2, \ldots$ are distribution functions, $F$ is continuous and strictly increasing, and $F_n(t)\to F(t)$ for all $t\in \R$, then $F_n\inv(p) \to F\inv(p)$ for all $p\in (0,1)$.
Suppose $X\in \R$, and let $F$ be the distribution functions of $X$. For iid samples $X_1, \ldots, X_n$ of $X$, let $\hat F_n$ be the distribution function of the empirical distribution.
Then $$ \begin{align*} \sup_{t\in \R} |\hat F_n(t) - F_n(t)| \xrightarrow{a.s.} 0. \end{align*} $$
(Context) If $F$ is continuous, then $$ \begin{align*} \sqrt{n} \sup_{t\in \R} |\hat F_n(t) - F(t)| \xrightarrow{d} K \end{align*} $$ where $K$ is the Kolmogorov distribution (a continuous distribution).
Note $\sup_{t\in \R} |\hat F_n(t) - F(t)|$ is identical for any continuous $F$: $$ \begin{align*} \sup_{t\in \R}|\hat F_n(t) - F(t)| ={}& \sup_{p\in (0,1)} |\hat F_n(F\inv(p)) - F(F\inv(p))| \\ ={}& \sup_{p\in (0,1)} \left|\frac{1}{n} \sum_{i=1}^{n} \mathbb{1}_{\{X_i\ast \leq F\inv(p)\}} - p\right| \\ ={}& \sup_{p\in (0,1)} \left|\frac{1}{n} \sum_{i=1}^{n} \mathbb{1}_{\set{F(X_i) \leq p}} - p\right| \\ \stackrel{(d)}={}& \sup_{p\in (0,1)}\left|\frac{1}{n} \sum_{i=1}^{n} \mathbb{1}_{\set{U_i \leq p}} - p\right| \tag{*} \end{align*} $$ since $F(X_i)\sim U[0,1]$ iid.
The Kolmogorov-Smirnov $(1-α)$-confidence band is $$ \begin{align*} \hat C_n = \sb{\text{distribution function }G}{\hat F_n(t) - \frac{δ_n}{\sqrt{n}} \leq G(t) \leq \hat F_n(t) + \frac{δ_n}{\sqrt{n}} \; \forall t\in \R} \end{align*} $$ where $δ_n$ is the upper $α$ quantile of $(*)$. Alternatively, if we set $δ_n$ to be the upper $α$ quantile of $K$, then $\hat C_n$ is an asymptotic $(1-α)$-confidence band.
Let $X_1, X_2, \ldots$ be iid copies of $X$, and let $\hat θ_n = T(X_1, \ldots, X_n)$ be an estimator for an unknown parameter $θ\in \R$.
Let $X_1^\ast, \ldots, X_n^\ast$ be a bootstrap resample of $X_1, \ldots, X_n$. Letting $\hat F_n$ be the random distribution function of $\sqrt{n}(T(X_1^\ast, \ldots, X_n^\ast) - \hat θ_n)$, define $$ \begin{align*} \hat C_n = \sb{θ\in \R}{\hat l_n \leq \sqrt{n}(\hat θ_n - θ) \leq \hat u_n} \end{align*} $$ where $\hat l_n = \hat F_n\inv(α/2)$ and $\hat u_n = \hat F_n(1 - α/2)$ are random quantiles.
Assume
-
$\sqrt{n}(\hat θ_n - θ) \xrightarrow{d} F$ for some distribution $F$; and
-
$\hat F_n(t) \xrightarrow{p} F(t)$.
Then $\hat C_n$ is an asymptotic $(1-α)$-confidence interval.
(Non-examinable)
Suppose $Z_1, Z_2, \ldots$ are iid with mean $μ$ and variance $σ^2$. Then for all $δ\in (0,1]$, $$ \begin{align*} \sup_{t\in \R} |\prob(\sqrt{n}(\overline{Z_n} - μ) \leq t) - Φ(t/σ)| \leq \frac{8 \expect[|Z_1 - μ|^{2+δ}]}{σ^{2+δ} n^{δ/2}} \end{align*} $$ where $Φ$ is the distribution function of $N(0,1)$.
Let $X_1, X_2, \ldots$ be iid copies of $X\in \R$. Suppose $μ = \expect[X]$, $σ^2 = \var[X_1] > 0$ and $\expect[|X - θ|^{2 + δ}] < \infty$ for some $δ>0$. Then $$ \begin{align*} \sup_{t\in \R} |\hat F_n(t) - Φ(t/σ)| \xrightarrow{a.s.} 0 \end{align*} $$ where $\hat F_n$ is defined here with $θ = \expect[X]$ and $\hat θ_n = \overline{X_n}$, and $Φ$ is the distribution function of $N(0,1)$.