 #jsDisabledContent { display:none; } My Account | Register | Help Flag as Inappropriate This article will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this article is inappropriate?          Excessive Violence          Sexual Content          Political / Social Email this Article Email Address:

# Parameter estimation

Article Id: WHEBN0003662288
Reproduction Date:

 Title: Parameter estimation Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Parameter estimation

For other uses, see Estimation (disambiguation).

Estimation theory is a branch of statistics that deals with estimating the values of parameters based on measured/empirical data that has a random component. The parameters describe an underlying physical setting in such a way that their value affects the distribution of the measured data. An estimator attempts to approximate the unknown parameters using the measurements.

For example, it is desired to estimate the proportion of a population of voters who will vote for a particular candidate. That proportion is the parameter sought; the estimate is based on a small random sample of voters.

Or, for example, in radar the goal is to estimate the range of objects (airplanes, boats, etc.) by analyzing the two-way transit timing of received echoes of transmitted pulses. Since the reflected pulses are unavoidably embedded in electrical noise, their measured values are randomly distributed, so that the transit time must be estimated.

In estimation theory, two approaches are generally considered. 

• The probabilistic approach (described in this article) assumes that the measured data is random with probability distribution dependent on the parameters of interest
• The set-membership approach assumes that the measured data vector belongs to a set which depends on the parameter vector.

For example, in electrical communication theory, the measurements which contain information regarding the parameters of interest are often associated with a noisy signal. Without randomness, or noise, the problem would be deterministic and estimation would not be needed.

## Estimation process

The entire purpose of estimation theory is to arrive at an estimator — preferably an easily implementable one. The estimator takes the measured data as input and produces an estimate of the parameters with the corresponding accuracy.

It is also preferable to derive an estimator that exhibits optimality. Estimator optimality usually refers to achieving minimum average error over some class of estimators, for example, a minimum variance unbiased estimator. In this case, the class is the set of unbiased estimators, and the average error measure is variance (average squared error between the value of the estimate and the parameter). However, optimal estimators do not always exist.

These are the general steps to arrive at an estimator:

• In order to arrive at a desired estimator, it is first necessary to determine a probability distribution for the measured data, and the distribution's dependence on the unknown parameters of interest. Often, the probability distribution may be derived from physical models that explicitly show how the measured data depends on the parameters to be estimated, and how the data is corrupted by random errors or noise. In other cases, the probability distribution for the measured data is simply "assumed", for example, based on familiarity with the measured data and/or for analytical convenience.
• After deciding upon a probabilistic model, it is helpful to find the theoretically achievable (optimal) precision available to any estimator based on this model. The Cramér–Rao bound is useful for this.
• Next, an estimator needs to be developed, or applied (if an already known estimator is valid for the model). There are a variety of methods for developing estimators; maximum likelihood estimators are often the default although they may be hard to compute or even fail to exist. If possible, the theoretical performance of the estimator should be derived and compared with the optimal performance found in the last step.
• Finally, experiments or simulations can be run using the estimator to test its performance.

After arriving at an estimator, real data might show that the model used to derive the estimator is incorrect, which may require repeating these steps to find a new estimator. A non-implementable or infeasible estimator may need to be scrapped and the process started anew.

Estimation theory can be applied to both linear and nonlinear models and is closely related to system identification and nonlinear system identification.

In summary, the estimator estimates the parameters of a physical model based on measured data.

## Basics

To build a model, several statistical "ingredients" need to be known. These are needed to ensure the estimator has some mathematical tractability instead of being based on "good feel".

The first is a set of statistical samples taken from a random vector (RV) of size N. Put into a vector,

$\mathbf\left\{x\right\} = \begin\left\{bmatrix\right\} x\left[0\right] \\ x\left[1\right] \\ \vdots \\ x\left[N-1\right] \end\left\{bmatrix\right\}.$

Secondly, there are the corresponding M parameters

$\mathbf\left\{\theta\right\} = \begin\left\{bmatrix\right\} \theta_1 \\ \theta_2 \\ \vdots \\ \theta_M \end\left\{bmatrix\right\},$

which need to be established with their continuous probability density function (pdf) or its discrete counterpart, the probability mass function (pmf)

$p\left(\mathbf\left\{x\right\} | \mathbf\left\{\theta\right\}\right).\,$

It is also possible for the parameters themselves to have a probability distribution (e.g., Bayesian statistics). It is then necessary to define the Bayesian probability

$\pi\left( \mathbf\left\{\theta\right\}\right).\,$

After the model is formed, the goal is to estimate the parameters, commonly denoted $\hat\left\{\mathbf\left\{\theta\right\}\right\}$, where the "hat" indicates the estimate.

One common estimator is the minimum mean squared error estimator, which utilizes the error between the estimated parameters and the actual value of the parameters

$\mathbf\left\{e\right\} = \hat\left\{\mathbf\left\{\theta\right\}\right\} - \mathbf\left\{\theta\right\}$

as the basis for optimality. This error term is then squared and minimized for the MMSE estimator.

## Estimators

Commonly used estimators and estimation methods, and topics related to them:

## Examples

### Unknown constant in additive white Gaussian noise

Consider a received discrete signal, $x\left[n\right]$, of $N$ independent samples that consists of an unknown constant $A$ with additive white Gaussian noise (AWGN) $w\left[n\right]$ with known variance $\sigma^2$ (i.e., $\mathcal\left\{N\right\}\left(0, \sigma^2\right)$). Since the variance is known then the only unknown parameter is $A$.

The model for the signal is then

$x\left[n\right] = A + w\left[n\right] \quad n=0, 1, \dots, N-1$

Two possible (of many) estimators are:

• $\hat\left\{A\right\}_1 = x\left[0\right]$
• $\hat\left\{A\right\}_2 = \frac\left\{1\right\}\left\{N\right\} \sum_\left\{n=0\right\}^\left\{N-1\right\} x\left[n\right]$ which is the sample mean

Both of these estimators have a mean of $A$, which can be shown through taking the expected value of each estimator

$\mathrm\left\{E\right\}\left\left[\hat\left\{A\right\}_1\right\right] = \mathrm\left\{E\right\}\left\left[ x\left[0\right] \right\right] = A$

and



\mathrm{E}\left[ \hat{A}_2 \right] = \mathrm{E}\left[ \frac{1}{N} \sum_{n=0}^{N-1} x[n] \right] = \frac{1}{N} \left[ \sum_{n=0}^{N-1} \mathrm{E}\left[ x[n] \right] \right] = \frac{1}{N} \left[ N A \right] = A

At this point, these two estimators would appear to perform the same. However, the difference between them becomes apparent when comparing the variances.

$\mathrm\left\{var\right\} \left\left( \hat\left\{A\right\}_1 \right\right) = \mathrm\left\{var\right\} \left\left( x\left[0\right] \right\right) = \sigma^2$

and



\mathrm{var} \left( \hat{A}_2 \right) = \mathrm{var} \left( \frac{1}{N} \sum_{n=0}^{N-1} x[n] \right) \overset{independence}{=} \frac{1}{N^2} \left[ \sum_{n=0}^{N-1} \mathrm{var} (x[n]) \right] = \frac{1}{N^2} \left[ N \sigma^2 \right] = \frac{\sigma^2}{N}

It would seem that the sample mean is a better estimator since its variance is lower for every N>1.

#### Maximum likelihood

Main article: Maximum likelihood

Continuing the example using the maximum likelihood estimator, the probability density function (pdf) of the noise for one sample $w\left[n\right]$ is

$p\left(w\left[n\right]\right) = \frac\left\{1\right\}\left\{\sigma \sqrt\left\{2 \pi\right\}\right\} \exp\left\left(- \frac\left\{1\right\}\left\{2 \sigma^2\right\} w\left[n\right]^2 \right\right)$

and the probability of $x\left[n\right]$ becomes ($x\left[n\right]$ can be thought of a $\mathcal\left\{N\right\}\left(A, \sigma^2\right)$)

$p\left(x\left[n\right]; A\right) = \frac\left\{1\right\}\left\{\sigma \sqrt\left\{2 \pi\right\}\right\} \exp\left\left(- \frac\left\{1\right\}\left\{2 \sigma^2\right\} \left(x\left[n\right] - A\right)^2 \right\right)$

By independence, the probability of $\mathbf\left\{x\right\}$ becomes



p(\mathbf{x}; A) = \prod_{n=0}^{N-1} p(x[n]; A) = \frac{1}{\left(\sigma \sqrt{2\pi}\right)^N} \exp\left(- \frac{1}{2 \sigma^2} \sum_{n=0}^{N-1}(x[n] - A)^2 \right)

Taking the natural logarithm of the pdf



\ln p(\mathbf{x}; A) = -N \ln \left(\sigma \sqrt{2\pi}\right) - \frac{1}{2 \sigma^2} \sum_{n=0}^{N-1}(x[n] - A)^2

and the maximum likelihood estimator is

$\hat\left\{A\right\} = \arg \max \ln p\left(\mathbf\left\{x\right\}; A\right)$

Taking the first derivative of the log-likelihood function



\frac{\partial}{\partial A} \ln p(\mathbf{x}; A) = \frac{1}{\sigma^2} \left[ \sum_{n=0}^{N-1}(x[n] - A) \right] = \frac{1}{\sigma^2} \left[ \sum_{n=0}^{N-1}x[n] - N A \right]

and setting it to zero



0 = \frac{1}{\sigma^2} \left[ \sum_{n=0}^{N-1}x[n] - N A \right] = \sum_{n=0}^{N-1}x[n] - N A

This results in the maximum likelihood estimator



\hat{A} = \frac{1}{N} \sum_{n=0}^{N-1}x[n]

which is simply the sample mean. From this example, it was found that the sample mean is the maximum likelihood estimator for $N$ samples of a fixed, unknown parameter corrupted by AWGN.

#### Cramér–Rao lower bound

To find the Cramér–Rao lower bound (CRLB) of the sample mean estimator, it is first necessary to find the Fisher information number



\mathcal{I}(A) = \mathrm{E} \left(

\left[
\frac{\partial}{\partial A} \ln p(\mathbf{x}; A)
\right]^2


\right) = -\mathrm{E} \left[

\frac{\partial^2}{\partial A^2} \ln p(\mathbf{x}; A)


\right]

and copying from above



\frac{\partial}{\partial A} \ln p(\mathbf{x}; A) = \frac{1}{\sigma^2} \left[ \sum_{n=0}^{N-1}x[n] - N A \right]

Taking the second derivative



\frac{\partial^2}{\partial A^2} \ln p(\mathbf{x}; A) = \frac{1}{\sigma^2} (- N) = \frac{-N}{\sigma^2}

and finding the negative expected value is trivial since it is now a deterministic constant $-\mathrm\left\{E\right\} \left\left[$

\frac{\partial^2}{\partial A^2} \ln p(\mathbf{x}; A)


\right] = \frac{N}{\sigma^2}

Finally, putting the Fisher information into



\mathrm{var}\left( \hat{A} \right) \geq \frac{1}{\mathcal{I}}

results in



\mathrm{var}\left( \hat{A} \right) \geq \frac{\sigma^2}{N}

Comparing this to the variance of the sample mean (determined previously) shows that the sample mean is equal to the Cramér–Rao lower bound for all values of $N$ and $A$. In other words, the sample mean is the (necessarily unique) efficient estimator, and thus also the minimum variance unbiased estimator (MVUE), in addition to being the maximum likelihood estimator.

### Maximum of a uniform distribution

Main article: German tank problem

One of the simplest non-trivial examples of estimation is the estimation of the maximum of a uniform distribution. It is used as a hands-on classroom exercise and to illustrate basic principles of estimation theory. Further, in the case of estimation based on a single sample, it demonstrates philosophical issues and possible misunderstandings in the use of maximum likelihood estimators and likelihood functions.

Given a discrete uniform distribution $1,2,\dots,N$ with unknown maximum, the UMVU estimator for the maximum is given by

$\frac\left\{k+1\right\}\left\{k\right\} m - 1 = m + \frac\left\{m\right\}\left\{k\right\} - 1$

where m is the sample maximum and k is the sample size, sampling without replacement. This problem is commonly known as the German tank problem, due to application of maximum estimation to estimates of German tank production during World War II.

The formula may be understood intuitively as:

"The sample maximum plus the average gap between observations in the sample",

the gap being added to compensate for the negative bias of the sample maximum as an estimator for the population maximum.[note 1]

This has a variance of

$\frac\left\{1\right\}\left\{k\right\}\frac\left\{\left(N-k\right)\left(N+1\right)\right\}\left\{\left(k+2\right)\right\} \approx \frac\left\{N^2\right\}\left\{k^2\right\} \text\left\{ for small samples \right\} k \ll N$

so a standard deviation of approximately $N/k$, the (population) average size of a gap between samples; compare $\frac\left\{m\right\}\left\{k\right\}$ above. This can be seen as a very simple case of maximum spacing estimation.

The sample maximum is the maximum likelihood estimator for the population maximum, but, as discussed above, it is biased.

## Applications

Numerous fields require the use of estimation theory. Some of these fields include (but are by no means limited to):

Measured data are likely to be subject to noise or uncertainty and it is through statistical probability that optimal solutions are sought to extract as much information from the data as possible.