Evaluating an Estimator¶
Evaluating an Estimator¶
Let \(\boldsymbol{X} = (X_{1}, X_{2}, \ldots, X_{n})\) be the set of random variables sampled from a population whose parameters are defined by \(\theta\). Let \(d(\boldsymbol{X})\) denote an estimator of \(\theta\). Then
denotes the mean squared estimator of \(\boldsymbol{X}\). Although it is rare to find an estimator that minimizes this error, we can certainly find the minima under the set of estimators satisfying a certain criteria.
The bias of an estimator is defined as
If the bias is zero, then the estimator is called an unbiased estimator. That is, the expected value of the estimator is same as the parameter being estimated.
For an unbiased estimator, the mean square error is
i.e., the mean squared error of an unbiased estimator is equal to its variance.
Let \(X_{1}, X_{2}, \ldots, X_{n}\) be sampled from a distribution whose mean is \(\theta\). Then,
is also an unbiased estimator because
Combining Unbiased Estimators¶
Suppose we have \(n\) unbiased estimators \(d_{1}, \ldots, d_{n}\) for a parameter \(\theta\) with different independent variances
Then, a weighted combination of these estimators is also an unbiased estimator of \(\theta\) (assuming that the weights sum up to 1). Suppose we wish to find a set of weights that minimize the mean squared error to get the best estimator, then
or, the weights for the estimators are inversely proportional to their individual variances. This is useful in situations when we have \(n\) independent results for evaluation of a parameter, and we want to increase our confidence in the estimator by combining all these independent results.
Relation between Bias and Variance¶
The result obtained above that the mean squared error of an unbiased estimator is it's variance can be generalized for the case of any estimator as follows
where we have noted that \(E[d - E[d]] = E[d] - E[d] = 0\) and \(E[d] - \theta\) is a constant since \(E[d]\) itself is a constant.
Minimum Variance Unbiased Estimator (MVUE)¶
For an unbiased estimator, the MSE derived above is only dependent on the variance of the estimator. Hence, the MVUE is the one for which the variance is the minimum.
Cramer Rao Lower Bound (CRLB) & Related Theorems¶
The CRLB sets a lower bound on the variance of any unbiased estimator. If this lower bound is known,
- If the variance of an unbiased estimator equals this lower bound, we know that we have found the MVUE
- The lower bound provides a benchmark against which to compare different estimators
- The bound can be used to rule out impossible estimators
Fisher Information¶
To calculate the CRLB, we first define Fisher Information (FI). For any distribution with the density function \(f_{X}(x \vert \theta)\) and a random variable \(X\), the FI measures a kind of variance of \(X\) with respect to \(\theta\). If the density function has peaks, knowing \(X\) can provide a lot of information about \(\theta\). On the other hand, a flat distribution will require many samples of \(X\) to find out a good estimate of \(\theta\). Mathemtically, for a single random variable \(X\), FI is defined as
and if the density is twice differentiable,
Fisher information is additive. The total Fisher information for a set of \(n\) independent random variables from the same distribution will simply be \(n\mathcal{I}(\theta)\) where \(\mathcal{I}(\theta)\) has been derived above.
Sufficient Statistic¶
Another important definition is a sufficient statistic. Any statistic of the population \(t = T(X)\) (for instance, sample mean is a population statistic, and so is sample variance) is called a sufficient statistic for the parameter \(\theta\) if the conditional probability distribution of the data (or sample) \(X\) given \(t\) does not depend on parameter \(\theta\). That is, once \(t\) is known, the data will provide no additional information about \(\theta\).
Fisher Neyman Factorization Theorem¶
The theorem states that a given statistic \(T(X)\) is sufficient if and only if
where \(h\) depends on the data while \(g\) depends on \(\theta\) and on the data \(X\) only through \(T(X)\).
Then, for an unbiased estimator \(\hat{\theta}\) and Fisher information \(\mathcal{I}(\theta)\) for a single observation, the CRLB is
The above is a universal bound for unbiased estimators. The lower bound is slightly different for biased estimators. Let \(b(\theta)\) denote the bias for estimator \(T(X)\), then
Complete Statistic¶
A statistic \(T\) is called complete if \(E_{\theta}[g(T)] = 0\) for all \(\theta\) and some function \(g\) implies that \(P(g(T) = 0) = 1\) for all \(\theta\).
Lehmann--Scheffe Theorem¶
The theorem states that any unbiased estimator of an unknown quantity that depends on the data only through a complete sufficient statistic is the unique best unbiased estimator of that quantity.
Rao-Blackwell Theorem¶
If \(g(X)\) is any kind of estimator of an unknown \(\theta\), the conditional expectation of \(g(X)\) given \(T(X)\) (a sufficient statistic) is typically a better estimate of \(\theta\) and never worse. Often, one can start off with a crude estimator \(g(X)\) and compute the expected value to get an estimator that is optimal in various senses.