Highly abundant number

From formulasearchengine
Revision as of 21:21, 30 May 2013 by en>Toshio Yamaguchi (References: adding natural number classes navbox)
Jump to navigation Jump to search

In statistics and signal processing, a minimum mean square error (MMSE) estimator is an estimation method which minimizes the mean square error (MSE) of the fitted values of a dependent variable, which is a common measure of estimator quality.

The term MMSE more specifically refers to estimation in a Bayesian setting with quadratic cost function. The basic idea behind the Bayesian approach to estimation stems from practical situations where we often have some prior information about the parameter to be estimated. For instance, we may have prior information about the range that the parameter can assume; or we may have an old estimate of the parameter that we want to modify when a new observation is made available. This is in contrast to the non-Bayesian approach like minimum-variance unbiased estimator (MVUE) where absolutely nothing is assumed to be known about the parameter in advance and which does not account for such situations. In the Bayesian approach, such prior information is captured by the prior probability density function of the parameters; and based directly on Bayes theorem, it allows us to make better posterior estimates as more observations become available. Thus unlike non-Bayesian approach where parameters of interest are assumed to be deterministic, but unknown constants, the Bayesian estimator seeks to estimate a parameter that is itself a random variable. Furthermore, Bayesian estimation can also deal with situations where the sequence of observations are not necessarily independent. Thus Bayesian estimation provides yet another alternative to the MVUE. This is useful when the MVUE does not exist or cannot be found.

Definition

Let x be a n×1 unknown (hidden) random vector variable, and let y be a m×1 known random vector variable (the measurement or observation), both of them not necessarily of the same dimension. An estimator x^(y) of x is any function of the measurement y. The estimation error vector is given by e=x^x and its mean squared error (MSE) is given by the trace of error covariance matrix

MSE=tr{E{(x^x)(x^x)T}},

where the expectation is taken over both x and y. When x is a scalar variable, then MSE expression simplifies to E{(x^x)2}. Note that MSE can equivalently be defined in other ways, since

tr{E{eeT}}=E{tr{eeT}}=E{eTe}=i=1nE{ei2}.

The MMSE estimator is then defined as the estimator achieving minimal MSE.

Properties

  • Under some weak regularity assumptions,[1] the MMSE estimator is uniquely defined, and is given by
x^MMSE(y)=E{x|y}.
In other words, the MMSE estimator is the conditional expectation of x given the known observed value of the measurements.
  • The MMSE estimator is unbiased
E{x^MMSE(y)}=E{E{x|y}}=E{x}.
E{(x^MMSEx)g(y)}=0
for all g(y) in closed, linear subspace 𝒱={g(y)|g:m,E{g(y)2}<+} of the measurements. For random vectors, since the MSE for estimation of a random vector is the sum of the MSEs of the coordinates, finding the MMSE estimator of a random vector decomposes into finding the MMSE estimators of the coordinates of X separately:
E{(gi*(y)xi)gj(y)}=0,
for all i and j. More succinctly put,
E{(x^MMSEx)x^T}=0.
  • If x and y are jointly Gaussian, then the MMSE estimator is linear, i.e., it has the form Wy+b for matrix W and constant b. As a consequence, to find the MMSE estimator, it is sufficient to find the linear MMSE estimator.

Linear MMSE estimator

In many cases, it is not possible to determine a closed form expression for the conditional expectation E{x|y} required to obtain the MMSE estimator. Direct numerical evaluation of the conditional expectation is computationally expensive, since they often require multidimensional integration usually done using Monte Carlo methods. In such cases, one possibility is to abandon the full optimality requirements and seek a technique minimizing the MSE within a particular class of estimators, such as the class of linear estimators. Thus we postulate that the conditional expectation of x given y is a simple linear function of y, E{x|y}=Wy+b, where the measurement y is a random vector, W is a matrix and b is a vector. The linear MMSE estimator is the estimator achieving minimum MSE among all estimators of such form. Such linear estimator only depends on the first two moments of the probability density function. So although it may be convenient to assume that x and y are jointly Gaussian, it is not necessary to make this assumption, so long as the assumed distribution has well defined first and second moments.

The expression for optimal b and W is given by

b=x¯Wy¯,
W=CXYCY1.

Thus the expression for linear MMSE estimator, its mean, and its auto-covariance is given by

x^=W(yy¯)+x¯,
E{x^}=x¯,
CX^=CXYCY1CYX,

where x¯=E{x}, y¯=E{y}, the CXY is cross-covariance matrix between x and y, the CY is auto-covariance matrix of y, and the CYX is cross-covariance matrix between y and x. Lastly, the error covariance and minimum mean square error achievable by such estimator is

Ce=CXCX^=CXCXYCY1CYX,
LMMSE=tr{Ce}.

For the special case when both x and y are scalars, the above relations simplify to

x^=σXYσX2(yy¯)+x¯,
σe2=σX2σXY2σX2.

Template:Collapse top

Let us have the optimal linear MMSE estimator given as x^=Wy+b, where we are required to find the expression for W and b. It is required that the MMSE estimator be unbiased. This means,

E{x^}=E{x}.

Plugging the expression for x^ in above, we get

b=x¯Wy¯,

where x¯=E{x} and y¯=E{y}. Thus we can re-write the estimator as

x^=W(yy¯)+x¯

and the expression for estimation error becomes

x^x=W(yy¯)(xx¯).

From the orthogonality principle, we can have E{(x^x)(yy¯)T}=0, where we take g(y)=yy¯. Here the left hand side term is

E{(x^x)(yy¯)T}=E{(W(yy¯)(xx¯))(yy¯)T}=WE{(yy¯)(yy¯)T}E{(xx¯)(yy¯)T}=WCYCXY.

When equated to zero, we obtain the desired expression for W as

W=CXYCY1.

The CXY is cross-covariance matrix between X and Y, and CY is auto-covariance matrix of Y. Since CXY=CYXT, the expression can also be re-written in terms of CYX as

WT=CY1CYX.

Thus the full expression for the linear MMSE estimator is

x^=CXYCY1(yy¯)+x¯.

Since the estimate x^ is itself a random variable with E{x^}=x¯, we can also obtain its auto-covariance as

CX^=E{(x^x¯)(x^x¯)T}=WE{(yy¯)(yy¯)T}WT=WCYWT.

Putting the expression for W and WT, we get

CX^=CXYCY1CYX.

Lastly, the covariance of linear MMSE estimation error will then be given by

Ce=E{(x^x)(x^x)T}=E{(x^x)(W(yy¯)(xx¯))T}=E{(x^x)(yy¯)T}0WTE{(x^x)(xx¯)T}=E{(W(yy¯)(xx¯))(xx¯)T}=E{(xx¯)(xx¯)T}WE{(yy¯)(xx¯)T}=CXWCYX.

The first term in the third line is zero due to the orthogonality principle. Since W=CXYCY1, we can re-write Ce in terms of covariance matrices as

Ce=CXCXYCY1CYX.

This we can recognize to be the same as Ce=CXCX^. Thus the minimum mean square error achievable by such a linear estimator is

LMMSE=tr{Ce}.

Template:Collapse bottom

Standard method like Gauss elimination can be used to solve the matrix equation for W. A more numerically stable method is provided by QR decomposition method. Since the matrix CY is a symmetric positive definite matrix, W can be solved twice as fast with the Cholesky decomposition, while for large sparse systems conjugate gradient method is more effective. Levinson recursion is a fast method when CY is also a Toeplitz matrix. This can happen when y is a wide sense stationary process. In such stationary cases, these estimators are also referred to as Wiener-Kolmogorov filters.

Linear MMSE estimator for linear observation process

Let us further model the underlying process of observation as a linear process: y=Ax+z, where A is a known matrix and z is random noise vector with the mean E{z}=0 and cross-covariance CXZ=0. Here the required mean and the covariance matrices will be

E{y}=Ax¯,
CY=ACXAT+CZ,
CXY=CXAT.

Thus the expression for the linear MMSE estimator matrix W further modifies to

W=CXAT(ACXAT+CZ)1.

Putting everything into the expression for x^, we get

x^=CXAT(ACXAT+CZ)1(yAx¯)+x¯.

Lastly, the error covariance is

Ce=CXCX^=CXCXAT(ACXAT+CZ)1ACX.

The significant difference between the estimation problem treated above and those of least squares and Gauss-Markov estimate is that the number of observations m, (i.e. the dimension of y) need not be at least as large as the number of unknowns, n, (i.e. the dimension of x). The estimate for the linear observation process exists so long as the m-by-m matrix (ACXAT+CZ)1 exists; this is the case for any m if, for instance, CZ is positive definite. Physically the reason for this property is that since x is now a random variable, it is possible to form a meaningful estimate (namely its mean) even with no measurements. Every new measurement simply provides additional information which may modify our original estimate. Another feature of this estimate is that for m < n, there need be no measurement error. Thus, we may have CZ=0, because as long as ACXAT is positive definite, the estimate still exists. Lastly, this technique can handle cases where the noise is correlated, or in other words, when the noise is non-white.

Alternative form

An alternative form of expression can be obtained by using the matrix identity

CXAT(ACXAT+CZ)1=(ATCZ1A+CX1)1ATCZ1,

which can be established by post-multiplying by (ACXAT+CZ) and pre-multiplying by (ATCZ1A+CX1), to obtain

W=(ATCZ1A+CX1)1ATCZ1,

and

Ce=(ATCZ1A+CX1)1.

Since W can now be written in terms of Ce as W=CeATCZ1, we get a simplified expression for x^ as

x^=CeATCZ1(yAx¯)+x¯.

In this form the above expression can be easily compared with weighed least square and Gauss-Markov estimate. In particular, when CX1=0, corresponding to infinite variance of the apriori information concerning x, the result W=(ATCZ1A)1ATCZ1 is identical to the weighed linear least square estimate with CZ1 as the weight matrix. Moreover, if the components of z are uncorrelated such that CZ=σ2I, where I is an identity matrix, then W=(ATA)1AT. which has the same expression as the ordinary least square estimate.

Sequential linear MMSE estimation

For stationary process

In many real-time application, observational data is not available in a single batch. Instead the observations are made in a sequence. A naive application of previous formulas would have us discard an old estimate and recompute a new estimate as fresh data is made available. But then we lose all information provided by the old observation. When the observations are scalar quantities, one possible way of avoiding such re-computation is to first concatenate the entire sequence of observations and then apply the standard estimation formula as done in Example 2. But this can be very tedious because as the number of observation increases so does the size of the matrices that need to be inverted and multiplied grow. Also, this method is difficult to extend to the case of vector observations. Another approach to estimation from sequential observations is to simply update an old estimate as additional data becomes available, leading to finer estimates. Thus a recursive method is desired where the new measurements can modify the old estimates. Implicit in these discussions is the assumption that the statistical properties of x does not change with time. In other words, x is stationary.

For sequential estimation, if we have an estimate x^1 based on measurements generating space Y1, then after receiving another set of measurements, we should subtract out from these measurements that part that could be anticipated from the result of the first measurements. In other words, the updating must be based on that part of the new data which is orthogonal to the old data.

Suppose an optimal estimate x^1 has been formed on the basis of past measurements and that error covariance matrix is Ce1. For linear observation processes the best estimate of y based on past observation, and hence old estimate x^1, is y^=Ax^1 and thus y~=yy^=yAx^1. The new estimate based on additional data is now

x^2=x^1+CXY~CY~1y~,

where CXY~ is the cross-covariance between x and y~ and CY~ is the auto-covariance of y~. This works out to be

x^2=x^1+Ce1AT(ACe1AT+CZ)1(yAx^1),

and the new error covariance is

Ce2=Ce1Ce1AT(ACe1AT+CZ)1ACe1.

The repeated use of the above two equations as more observations become available lead to recursive estimation techniques. The expressions can be more compactly written as

  1. K2=Ce1AT(ACe1AT+CZ)1,
  2. x^2=x^1+K2(yAx^1),
  3. Ce2=(IK2A)Ce1.

The matrix K is often referred to as the gain factor. The repetition of these three steps as more data becomes available leads to an iterative estimation algorithm.

For example, an easy to use recursive expression can be derived when at each m-th time instant the underlying linear observation process yields a scalar such that ym=amTx+zm, where amT is 1-by-n known row vector whose values can change with time, x is n-by-1 random column vector to be estimated, and zm is scalar noise term with variance σm2. After (m+1)-th observation, the direct use of above recursive equations give the expression for the estimate x^m+1 as:

x^m+1=x^m+km+1(ym+1am+1Tx^m)

where ym+1 is the new scalar observation and the gain factor km+1 is n-by-1 column vector given by

km+1=(Ce)mam+1σm+12+am+1T(Ce)mam+1.

The (Ce)m+1 is n-by-n error covariance matrix given by

(Ce)m+1=(Ikm+1am+1T)(Ce)m.

Here no matrix inversion is required. Also the gain factor km+1 depends on our confidence in the new data sample, as measured by the noise variance, versus that in the previous data. The initial values of x^ and Ce are taken to be the mean and covariance of the aprior probability density function of x.

Examples

Example 1

We shall take a linear prediction problem as an example. Let a linear combination of observed scalar random variables x1,x2 and x3 be used to estimate another future scalar random variable x4 such that x^4=i=13wixi. If the random variables x=[x1,x2,x3,x4]T are real Gaussian random variables with zero mean and its covariance matrix given by

cov(X)=E[xxT]=[1234258938610491015],

then our task is to find the coefficients wi such that it will yield an optimal linear estimate x^4.

In terms of the terminology developed in the previous section, for this problem we have the observation vector y=[x1,x2,x3]T, the estimator matrix W=[w1,w2,w3] as a row vector, and the estimated variable x=x4 as a scalar quantity. The autocorrelation matrix CY is defined as

CY=[E[x1,x1]E[x2,x1]E[x3,x1]E[x1,x2]E[x2,x2]E[x3,x2]E[x1,x3]E[x2,x3]E[x3,x3]]=[123258386].

The cross correlation matrix CYX is defined as

CYX=[E[x4,x1]E[x4,x2]E[x4,x3]]=[4910].

We now solve the equation CYWT=CYX by inverting CY and pre-multiplying to get

CY1CYX=[4.851.71.1421.71.428.2857.142.2857.1429][4910]=[2.57.142.5714]=WT.

So we have w1=2.57, w2=.142, and w3=.5714 as the optimal coefficients for x^4. Computing the minimum mean square error then gives emin2=E[x4x4]WCYX=15WCYX=.2857.[2] Note that it is not necessary to obtain an explicit matrix inverse of CY to compute the value of W. The matrix equation can be solved by well known methods such as Gauss elimination method. A shorter, non-numerical example can be found in orthogonality principle.

Example 2

Consider a vector y formed by taking N observations of a random scalar parameter x disturbed by white Gaussian noise. We can describe the process by a linear equation y=1x+z, where 1=[1,1,,1]T. Depending on context it will be clear if 1 represents a scalar or a vector. Let the aprior distribution of x be uniform over an interval [x0,x0], and thus x will have variance of σX2=x02/3.. Let the noise vector z be normally distributed as N(0,σZ2I) where I is an identity matrix. Also x and z are independent and CXZ=0. It is easy to see that

E{y}=0,CY=E{yyT}=σX211T+σZ2I,CXY=E{xyT}=σX21T.

Thus, the linear MMSE estimator is given by

x^=CXYCY1y=σX21T(σX211T+σZ2I)1y.

We can simplify the expression by using the alternative form for W as

x^=(1T1σZ2I1+1σX2)11T1σZ2Iy=1σZ2(NσZ2+1σX2)11Ty=σX2σX2+σZ2/Ny¯,

where for y=[y1,y2,,yN]T we have y¯=1TyN=i=1NyiN.

Similarly, the variance of the estimator is

σX^2=CXYCY1CYX=(σX2σX2+σZ2/N)σX2.

Thus the MMSE of this linear estimator is

LMMSE=σX2σX^2=(σZ2σX2+σZ2/N)σX2N.

For very large N, we see that the MMSE estimator of a scalar unknown random variable with uniform aprior distribution can be approximated by the arithmetic average of all the observed data

x^=1Ni=1Nyi,

while the variance will be unaffected by data σX^2=σX2, and the LMMSE of the estimate will tend to zero.

However, the estimator is suboptimal since it is constrained to be linear.

Example 3

Consider a variation of the above example: Two candidates are standing for an election. Let the fraction of votes that a candidate will receive on an election day be x[0,1]. Thus the fraction of votes the other candidate will receive will be 1x. We shall take x as a random variable with a uniform prior distribution over [0,1] so that its mean is x¯=1/2 and variance is σX2=1/12. A few weeks before the election, two independent public opinion polls were conducted by two different pollsters. The first poll revealed that the candidate is likely to get y1 fraction of votes. Since some error is always present due to finite sampling and the particular polling methodology adopted, the first pollster declares their estimate to have an error z1 with zero mean and variance σZ12. Similarly, the second pollster declares their estimate to be y2 with an error z2 with zero mean and variance σZ22. Note that except for the mean and variance of the error, the error distribution is unspecified. How should the two polls be combined to obtain the voting prediction for the given candidate?

As with previous example, we have

y1=x+z1y2=x+z2.

Here both the E{y1}=E{y2}=x¯=1/2. Thus we can obtain the LMMSE estimate as the linear combination of y1 and y2 as

x^=w1(y1x¯)+w2(y2x¯)+x¯,

where the weights are given by

w1=1/σZ121/σZ12+1/σZ22+1/σX2,w2=1/σZ221/σZ12+1/σZ22+1/σX2.

Here since the denominator term is constant, the poll with lower error is given higher weight in order to predict the election outcome. Lastly, the variance of the prediction is given by

σX^2=1/σZ12+1/σZ221/σZ12+1/σZ22+1/σX2σX2,

which makes σX^2 smaller than σX2.

See also

Notes

  1. Lehmann and Casella, Corollary 4.1.2.
  2. Moon and Stirling.

Further reading

  • Template:Cite web
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534

30 year-old Entertainer or Range Artist Wesley from Drumheller, really loves vehicle, property developers properties for sale in singapore singapore and horse racing. Finds inspiration by traveling to Works of Antoni Gaudí.