Estimation

Suppose data $X\in \mathcal{X}$ follows a probability distribution $p(x; θ)$ where a parameter $θ\in Θ$ is unknown.

Definition (estimator) open_in_new

An estimator is a statistic (function on the data) $\hat θ: \mathcal{X} \to Θ$ which is used to approximate the true parameter $θ$.

The distribution of $\hat θ = \hat θ(X)$ is its sampling distribution.

Definition (bias of estimator) open_in_new

The bias of an estimator $\hat θ$ for $θ$ is $$ \begin{align*} \op{bias}(\hat θ) = \expect_θ(\hat θ) - θ, \end{align*} $$ which is a function of $θ$.

We say $\hat θ$ is unbiased if $\op{bias}(\hat θ) = 0$ for all $θ\in Θ$.

Definition (mean square error of estimator) open_in_new

The mean square error of an estimator $\hat θ$ for $θ$ is $$ \begin{align*} \op{MSE}(\hat θ) = \expect_θ\bigl((\hat θ-θ)^2\bigr), \end{align*} $$ which is a function of $θ$.

Proposition (bias-variance decomposition) open_in_new

For any estimator $\hat θ$ for $θ$, $$ \begin{align*} \op{MSE}(\hat θ) = \var(\hat θ) + \op{bias}(\hat θ)^2. \end{align*} $$

Proof

Sufficient statistics open_in_new
Sufficiency principle

If $T(X)$ is a sufficient statistic and in two experiments with data $x$ and $y$ we have $T(x) = T(y)$, then the "evidence" about $θ$ given the two experiments is the same.

Definition (sufficient statistic) open_in_new

A statistic $T = T(X)$ is said to be sufficient for $θ$ if the conditional distribution of $X$ given $T(X)$ does not depend on $θ$.

Theorem (Fisher-Neyman factorisation theorem) open_in_new

Suppose $X$ follows a distribution $p(x; θ)$ depending on an unknown parameter $θ$.

A statistic $T$ is sufficient for $θ$ iff $$ \begin{align*} p(x; θ) = g(T(x), θ)\, h(x) \end{align*} $$ for some functions $g$ and $h$.

Proof

Definition (minimal sufficient statistic) open_in_new

A sufficient statistic $T(X)$ is minimal sufficient if it is a function of every other statistic, i.e. if $S(X)$ is a sufficient statistic, then $S(x) = S(y) \implies T(x) = T(y)$ for all $x,y\in \mathcal{X}$.

  • Minimal sufficient statistics are unique up to a bijection.

Theorem (equal iff probability ratio independent of parameter implies minimal sufficient) open_in_new

Suppose $T$ is a statistic, satisfying that $T(x) = T(y)$ iff $p(x; θ)/p(y; θ)$ does not depend on $θ$. Then $T$ is minimal sufficient.

Proof

Theorem (Rao-Blackwell) open_in_new

Suppose $T$ is a sufficient statistic.

For any estimator $\tilde θ$ of $θ$, let $\hat θ = \expect_θ(\tilde θ\mid T)$ be another estimator. Then $$ \begin{align*} \op{MSE}(\hat θ) \leq \op{MSE}(\tilde θ) \end{align*} $$ with equality iff $\tilde θ$ is a function of $T$.

Proof

  • This reinforces the sufficiency principle: we should only consider estimators that are functions of sufficient statistics, since otherwise we can always make a better one.

Maximum likelihood estimator open_in_new

Definition (maximum likelihood estimator) open_in_new

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.

Likelihood principle

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.

Confidence interval open_in_new

Definition (confidence interval, region) open_in_new

Let $α\in [0,1]$

For $Θ\subseteq \R$, a $(1-α)$-confidence interval for $θ$ is a random interval $[L(X), U(X)] \subseteq Θ$ such that $$ \begin{align*} \prob_θ(L(X) \leq θ \leq U(X)) = 1-α \qquad \forall θ\in Θ. \end{align*} $$

For $X$ following $p(x; θ,η)$ with a unknown primary parameter $θ\in Θ$ and a unknown nuisance parameter $η\in H$, a $(1-α)$-confidence set/region of $θ$ is a random set $S(X) \subseteq Θ$ such that $$ \begin{align*} \prob_θ(θ\in S(X)) = 1-α \qquad \forall θ\in Θ,\ η\in H. \end{align*} $$

  • Frequentist interpretation: if we repeat the experiment many times, on average $100(1-α)\%$ of time the interval $[L(X), U(X)]$ covers $θ$.

  • Some authors only require $\geq 1-α$.

  • If $[L(X), U(X)]$ is a $(1-α)$-confidence interval for $θ$ and $h: Θ\to \R$ is monotone increasing, then $[h(L(X)), h(U(X))]$ is a $(1-α)$-confidence interval for $h(θ)$.

Bayesian inference in IB Statistics open_in_new

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.

Definition (Bayes estimator) open_in_new

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)

Definition (credible interval) open_in_new

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*} $$