Professional Documents
Culture Documents
• Etc.
1
14/11/16
Example: Estimation
• Sensitivity
• Dynamic range
Example: Estimation
A simplified model:
y 1 = s + n1
ŝ
s Noise Gain and
reduction compression
n y 2 = s + n2
• ŝ1 = y1
1
PN
• ŝ2 = N i=1 yi
How to determine an estimate ŝ? • How good are these estimators?
• Are there better estimators?
PN yi
i=1 2
ni
What about ŝ3 = PN 1 ?
i=1 2
ni
4
2
14/11/16
y 1 = s + n1
Example: Estimation ŝ
Noise Gain and
reduction compression
let’s assume
y 2 = s + n2
• s is deterministic
• ŝ1 = y1
• Noise ni at every microphone is a zero-mean iid random process.
1
PN
• ŝ2 = N i=1 yi
PN
V ar[ŝ]? i=1
yi
2
ni
• ŝ3 = PN 1
i=1 2
ni
2 2
• V ar[ŝ1 ] = ni If indeed iid ) V ar[ŝ1 ] = n
PN P 2
• V ar[ŝ2 ] = V ar[ N1 i=1 yi ] = 1
N2
2
ni . If indeed iid ) V ar[ŝ2 ] = n
N
" PN yi #
i=1 2 2
• V ar[ŝ3 ] = V ar PN
ni
1 = P 11 . If indeed iid ) V ar[ŝ3 ] = n
i=1 2 2
N
ni ni
y 1 = s + n1
Example: Estimation ŝ
Noise Gain and
reduction compression
y 2 = s + n2
What if the noise is not iid, but only independent?
2 2 2 2
• n1 = n and n2 =2 n
V ar[ŝ]?
2
• V ar[ŝ1 ] = n
PN 3 2
• V ar[ŝ2 ] = V ar[ N1 i=1 yi ] = n
4 . Questions:
" PN yi #
i=1 2
ni 2 2 • How to derive good (optimal) estimators?
• V ar[ŝ3 ] = V ar PN 1 = 3
n
.
i=1 2
ni
• How to quantify their performance?
• What is the best estimator for a certain estimation task?
6
3
14/11/16
Example: Detection
Characterization of abnormal heart rhythms (Atrial fibrillation)
Common treatment: Ablation. Only successful in 50 % of cases. . .
Research project on atrial fibrillation:
• Measure signals directly on the heart using a high dimensional sensor
(188).
Example: Detection
5000
Response at 5 di↵erent positions of the sensor
0
-5000
without atrial fibrillation.
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
0
• How to detect the moment of atrial activity
-5000
in each signal?
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
4
14/11/16
Example: Detection
5000
Response at 5 di↵erent positions of the sensor
0
WITH atrial fibrillation.
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
• How to detect the moment of atrial activity
0
in each signal?
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
time samples (f s = 10 kHz)
Example: Detection
5000 Derivative of the response at 5 di↵erent
0 positions of the sensor WITH atrial fibrillation.
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000 • How to detect the moment of atrial activity
0 in each signal?
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000 • Check whether y[n] > ?
0
-5000
• How to chose the threshold ?
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
5000
0
• What is the optimal detector?
-5000
5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
• How to evaluate the performance of the
0 detector?
-5000
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
10
5
14/11/16
This Course
Theory on estimation and detection:
• Generally, the (optimal) solution to estimation and detection problems
depends on the underlying signal model.
• Data is often random: Random noise and sometimes random target as
well. Models are therefore often based on statistical descriptions.
Key Questions:
• How to determine optimal estimators.
• What is the estimation bound?
11
12
6
14/11/16
Course Information - 1
• Blackboard
• Exam:
– Written
14
7
14/11/16
Course Information - 2
• books:
• Instructors:
– Richard C. Hendriks
– Sundeep Chepuri
• Contact: et4386-EWI@TuDelft.nl
15
• There will be several projects to chose from. Let us know your ranked preference
before November 25th (to the course e-mail address).
16
8
14/11/16
17
Introductory Example
Given a process (DC in noise):
18
9
14/11/16
Introductory Example
Given a process (DC in noise):
Introductory Example
Use statistical descriptors: Expected value and variance of the estimator.
• E(Â1 ) = A
⇣ PN ⌘ PN
1 1 1 1
E(Â2 ) = E N n=0 x[n] = N n=0 E(x[n]) =A
Both estimators are unbiased.
10
14/11/16
Unbiased Estimators
Let ✓ˆ = g(x), x = [x[0], x[1], ..., x[N 1]]T .
An unbiased estimator implies that
Z
ˆ =
E[✓] g(x)p(x; ✓)dx = ✓.
1. Â1 = x[0]
PN 1
2. Â2 = 1
N n=0 x[n]
21
22
11
14/11/16
• E[Â3 ] = aA
a2 2
• var[Â3 ] = N
a2 2
• MSE(Â3 ) = N + (a 1)2 A2 .
A2
Find the optimal estimator requires finding the optimal a: aopt = A2 + 2 /N
.
2 PN 1
The optimal estimator: Â3 = N AA2 + 2 n=0 x[n].
The optimal estimator depends on A (and thus unrealisable), because the bias term in the
MSE depends on A:
a2 2
MSE(Â3 ) = + (a 1)2 A2 .
N | {z }
bias
ˆ = ✓, then
Hence, if E(✓)
h i h i
ˆ = E (✓ˆ E(✓))
mse(✓) ˆ 2 + (E(✓)
ˆ ✓)2 = E (✓ˆ E(✓))
ˆ 2 .
24
12
14/11/16
Remark: The MVU does not always exist and is generally difficult to find.
ˆ
var(✓) ˆ
var(✓)
✓ˆ1 ✓ˆ1
✓ˆ2
✓ˆ3 ✓ˆ2
✓ˆ3
✓ ✓
MVU: Example
8
< N (✓, 1) , ✓ 0
Consider two independent random processes x and y: x ⇠ N (✓, 1) , y⇠
: N (✓, 2) , ✓<0
Consider two possible estimators for ✓: ✓ˆ1 = 1
2 (x + y) , ✓ˆ2 = 2 1
3x+ 3y
26
13
14/11/16
27
Goal: Estimate A
x[0] = A + w[0],
⇥ ⇤
The pdf of x[0] is given by: p(x[0]; A) = p 1 exp 1
2 2
(x[0] A)2
2⇡ 2
Question: What determines now how accurate we can estimate A?
28
14
14/11/16
0.4
0.3
0.2
How to measure sharpness/curvature?
0.1
0
0 1 2 3 4 5 6 7
A
29
0.15
p(x[0]; A)
0.1
0.05
0
0 1 2 3 4 5 6 7
A
6
ln [p(x[0]; A)]
4 @ ln[p(x[0];A)]
@A
2 @ 2 ln[p(x[0];A)]
@A2
0
-2
-4
-6
0 1 2 3 4 5 6 7
A
30
15
14/11/16
h i
In this example: 1
@ 2 ln[p(x[0];A)]
= 2
= var Â
@A2
2
@ ln[p(x[0];A)]
In general, as @A2
can depend on x[0], curvature is measured by
@ 2 ln [p(x[0]; A)]
E
@A2
PN 1
Remember estimator Â2 = 1
N n=0 x[n].
32
16
14/11/16
Next week:
Cramer-Rao Lower bound
ˆ 1 1
var(✓) 2 = "✓ ◆2 #
@ ln p(x; ✓) @ ln p(x; ✓)
E E
@✓2 @✓
• Can be used to determine whether an estimator is the MVU. This is the case if an
estimator reaches the bound.
17