Wiener filtering
I’m a little puzzled by this, but I’m writing it up for posterity. Suppose
is a zero-mean, (wide-sense circular) stationary random vector in
. Stationary meaning that the entries in the autocovariance matrix depend only on the difference between the indices, i.e.
for some vector
, called the autocorrelation. Then the power spectrum
is defined to be the DFT of the autocorrelation. If we consider a fixed vector
, then the (circular) convolution product of
and
is given by
, and we have that
is again zero-mean and stationary, with
.
All of which is just a setup for the main problem. Suppose we observe
where
is our random signal of interest and
is independent noise, both of which we take WLOG to be zero-mean. We’d like to estimate
linearly from
. Specifically, we look for a vector
which minimizes
. Since independence of
and
carries through when we filter
with
, we can expand the expected MSE error into
.
If we assume
and
are both stationary processes, we can use Parseval’s theorem to show that
. In particular, by letting
be the dirac vector, we find
. Plugging in these relations, we find that the MSE error is
.
The question now is to find
which minimizes the MSE error. If we were naive about it, we could ignore the fact that the sum above is one of complex quantities, and differentiate the quadratic form w.r.t.
for each
and set the result to zero, getting
. This relation for the Fourier coefficients of
could then be used to calculate
.
My problem with this, which seems to be the usual way of defining the Wiener filter, is two-fold. First, I think there should be a phase factor included in the definition of
to be sure that
is real– to be sure, there’s nothing wrong with estimating a real quality with a complex one, but why not make
real if you can? More seriously, I’m not sure the differentiation-to-minimize argument carries over to the complex case (
, for example, is not differentiable).
Possibly relevant posts:
- But that’s just least squares… (8/9/2006)
- Optimization problems (1/24/2006)
- I’m stumped– you give it a try (4/1/2008)
You forgot to take the real part. The actual formula is ||v+w||^2=||v||^2+||w||^2+2Re(v,w). And it’s clear that if you want to minimize, the imaginary part just contributes to L^2 norm without doing anything.
There’s a mistake when you expand the MSE.
||a-b||^2 = ||a||^2 + ||b||^2 – –
Using the corrected MSE formula, since power spectra are nonnegative, in order to minimize the MSE, g_hat has to be real. Then since the power spectra are symmetric, g_hat is symmetric, so g is real.
Thanks Torus and “TA”. I’ll go back and fix the post at some point in the future.