Professional Documents
Culture Documents
URL: www.commsp.ee.ic.ac.uk/mandic
Advanced Signal Processing, Spring 2015
c D. P. Mandic
4. Image analysis
5. Biomedicine
6. Communications
7. Control
8. Seismics
9. Almost everywhere ...
span
reads :
p(x) parametrised by
p(x[0]; ) =
exp 22 (x[0] )
2
2
Clearly,
the
observed value of
x[0] impacts upon
the likely value of
.
c D. P. Mandic
x[0]
p(x | )
| {z }
p()
|{z}
(conditional P DF ) (prior P DF )
p(x; ) =
1
e
(2 2 )N/2
i
PN 1
2
1
2
n=0 (x[n]ABn)
2
In practice, we choose a PDF which fits the problem constraints and any
a priori information; but it must also be mathematically tractable.
Example: Assume that on the Data: straight line embedded in
average the data are increasing
random noise w[n] N (0, 2)
x[n]
x[n] = A + Bn + w[n]
noisy line
n = 0, 1, . . . , N 1
p(x; A, B) =
1
e
(2 2 )N/2
i
PN 1
2
1
2
n=0 (x[n]ABn)
2
Unknown parameters:
A, B [A B]T
A
ideal noiseless line
0
c D. P. Mandic
Asymptotic unbiasedness
If the bias is zero, then the expected value of the estimate is equal to the
true value, that is
E{N } =
B = E{N } = 0
and the estimate is said to be unbiased.
If B 6= 0 then the estimator = g(x) is said to be biased.
Example: Consider the sample mean estimator of the signal
x[n] = A + w[n], w N (0, 1), given by
N
1
X
1
A = x
=
x[n]
that is = A
N + 2 n=0
10
as
or in other words
o
n
lim var{N } = lim |N E{N }|2 = 0
N
P r{|N | }
2
if V ar 0 as N , then the probability that N differs by more
than from the true value will go to zero (showing consistency).
In this case, N is said to converge to with probability one.
c D. P. Mandic
11
c D. P. Mandic
12
13
N 1
1 X
1
2
2
=
V ar {x[n]} = 2 N =
2
N n=0
N
N
Notice the variance 0 as N # consistent (see your P&A sets)
c D. P. Mandic
14
n = 0, 1, . . . , N 1
15
1
A = 2N n=0 x[n]
n o
when A = 0
E A = 0
Therefore:
n o
E A =
A
2
when A 6= 0
but
(parameter dependent)
16
Remedy
(also look in the Assignment dealing with PSD in your CW )
= L1 L
l=1 l
Our assumption was that the individual estimators are unbiased, with equal
variance, and uncorrelated with one another.
Then (NB: averaging biased estimators will not remove the bias)
n o
E =
and
n o
V ar =
1
L2
n o
n o
1
l=1 V ar l = L V ar l
PL
Note, as L ,
c D. P. Mandic
(consistent)
17
10
10
n o
n o
X
1
i
=
var h
var h
2
L i=1
p(hi )
h i
1
2
h/2
c D. P. Mandic
=1
1
2
p(hi )
10
X
h = h
=
10 i=1
If = 1, unbiased, if = 1/2 it will not
be unbiased unless the estimator is formed
= 1 P10 h
as h
i=1 i [n].
5
n o
E h
=1
p(hi )
After Averaging
p(hi )
1 X
hi[n],
10 i=1
h i
h/2
18
measures the average mean squared deviation of the estimator from the
true value.
This criterion leads, however, to unrealisable estimators - namely, ones
which are not solely a function of the data
h
i2
+ E()
=E
E()
M SE()
n
+ E ()
= V ar()
o2
+ B 2()
= V ar()
19
and
a2 2
N
we have
2 2
a
+ (a 1)2A2
M SE(A) =
N
Of course, the choice of a = 1 removes the mean and minimises the variance
c D. P. Mandic
20
A2
2
A2 + N
21
2 =
y 2[n] > 1
N n=1
Find which minimises the MSE of
2.
S: It is straightforward to show that E{ 2} = 2 and
M SE(
2)
2
4 } + 4(1 2)
E{
2 2 } = E{
2 X X
2
2
4
E{y
[n]y
[s]}
+
(1 2)
2
N n=1 s=1
i
h
2 2 4
2
4
4
4
4
N + 2N + (1 2) = (1 + ) + (1 2)
N2
N
2 4
N +2 .
N
N +2
min M SE(
)=
Given that the minimum variance of an
unbiased estimator (CRLB, later) is 2 4/N , this is an example of a
biased estimator which obtains a lower MSE than the CRLB.
c D. P. Mandic
22
c D. P. Mandic
23
Key points
Simulation: Auditory steady state response (ASSR), 40 Hz amplitude modulated
Time series
An estimator is a random
variable, its performance can
only be completely described
statistically or by a PDF.
Estimators performance cannot
be conclusively assessed by
one computer simulation - we
often average M trials of
independent simulations, called
Monte Carlo analysis.
Performance and computation
complexity are often traded - the
optimal estimator is replaced by
a suboptimal but realisable one.
x 10
PSD analysis
2
0
15
10
90
92
94
96
98
20
25
30
35
40
45
25
30
35
40
45
25
30
35
40
45
x 10
2
0
15
10
2
98
100
102
104
106
20
x 10
4
2
0
2
15
10
4
106
108
110
112
114
20
x 10
4
2
0
2
4
90
15
10
95
100
105
Time (s)
110
20
25
30
35
40
Frequency (Hz)
45
Simulation: Left column: The 24s of ITE EEG sampled at 256Hz was split into 3
segments of length 8s. Left column: The respective periodograms (rectangular window).
Bottom right: The averaged periodogram, observe the reduction in variance (in red).
c D. P. Mandic
24
25
26
iT
ai < i < b i
for i = 1, 2, . . . , p
and by defining
E(1)
E(2)
E() =
..
E(p)
an unbiased estimator has the property
=
E()
27
28
to give
Let x =
()
substitute into ()
2
2
var( ) = E[( ) ] E[ ]
()
| {z }
| {z } |
{z
}
term (1)
term (2)
term (3)
var( ) = var()
E[ ]2 = MSE
2
2
2
c D. P. Mandic
+ bias2()
MSE = var()
29
c D. P. Mandic
30
Notes
c D. P. Mandic
31
Notes
c D. P. Mandic
32