51
ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum Estimation Electrical & Computer Engineering North Carolina State University Acknowledgment: ECE792-41 slides were adapted from ENEE630 slides developed by Profs. K.J. Ray Liu and Min Wu at the University of Maryland, College Park. Contact: [email protected]. ECE792 - 41 Part III

Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

ECE792-41 Statistical Methods for Signal Analytics

Part III Spectrum Estimation

3.1 Classic Methods for Spectrum Estimation

Electrical & Computer Engineering

North Carolina State University

Acknowledgment: ECE792-41 slides were adapted from ENEE630 slides

developed by Profs. K.J. Ray Liu and Min Wu at the University of Maryland,

College Park. Contact: [email protected].

ECE792-41 Part III

Page 2: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Parametric spectral estimation [2]

Summary of Related Readings on Part-III

Overview Haykins 1.16, 1.10

3.1 Non-parametric method

Hayes 8.1; 8.2 (8.2.3, 8.2.5); 8.3

3.2 Parametric method

Hayes 8.5, 4.7; 8.4

3.3 Frequency estimation

Hayes 8.6

Review

– On DSP and Linear algebra: Hayes 2.2, 2.3

– On probability and parameter estimation: Hayes 3.1 – 3.2

Page 3: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [3]

Spectrum Estimation: Background

Spectral estimation: determine the power distribution in frequency of a w.s.s. random process

– E.g., “Does most of the power of a signal reside at low or high

frequencies?” “Are there resonances in the spectrum?”

Applications:

– Needs of spectral knowledge in spectrum domain non-causal

Wiener filtering, signal detection and tracking, beamforming, etc.

– Wide use in diverse fields: radar, sonar, speech, biomedicine,

geophysics, economics, …

Estimating p.s.d. of a w.s.s. process estimating autocorrelation at all lags

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 4: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [4]

Spectral Estimation: Challenges

A w.s.s process is infinitely long. (Why?) When a limited amount of observation data is available:

– Can’t get r(k) for all k and/or may have inaccurate estimate of r(k)

– Scenario-1: transient measurement (earthquake, volcano, …)

– Scenario-2: constrained to short period to ensure (approx.)

stationarity in speech processing

Observed data may have been corrupted by noise

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

MkknunukN

krN

kn

,1,0 ,][][1

)(ˆ1

Page 5: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [5]

Spectral Estimation: Major Approaches

Nonparametric methods

– No assumptions on the underlying model for the data

– Periodogram and its variations (averaging, smoothing, …)

– Minimum variance method

Parametric methods

– ARMA, AR, MA models

– Maximum entropy method

Frequency estimation (noise subspace methods)

– For harmonic processes that consist of a sum of sinusoids or complex-exponentials in noise

High-order statistics

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 6: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [6]

Example of Speech Spectrogram

Figure 3 of SPM May’98 Speech Survey

UM

CP

EN

EE

40

8G

Slid

es (

cre

ate

d b

y M

. W

u ©

20

02

)

Page 7: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [7]

UM

CP

EN

EE

40

8G

Slid

es (

cre

ate

d b

y C

aro

l E

sp

y-W

ilson

© 2

00

4)

2000

4000

6000

8000

1.0 2.0 3.0 4.0 0.0

Fre

qu

ency

(H

z)

Time (sec)

“Sprouted grains and seeds are used in salads and dishes such as chop suey”

F2

2000

4000

6000

8000

0.1 0.3 0.5

Fre

qu

ency

(H

z)

fricativestopconsonant

glidevowel

stopconsonant

vowel

“Sprouted”

Page 8: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

k

fkjekrfP 2)()(

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [8]

Section 3.1 Classical Nonparametric Methods

As we can take DTFT on a specific realization of a random process,What is the relation between the DTFT of a specific signal and the p.s.d. of the random process?

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Recall: given a w.s.s. process {x[n]} with

The power spectral density (p.s.d.) is defined as

)(]][][[

]][[

krknxnxE

mnxE x

2

1

2

1 f

):2or ( f

Page 9: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [9]

Ensemble Average of Squared Fourier Magnitude

p.s.d. can be related to the ensemble average of

the squared Fourier magnitude |X()|2

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

2

2][12

1)(Consider

M

Mn

fnj

M enxM

fP

M

Mn

M

Mm

mnfjemxnxM

)(2][][12

1

i.e., take DTFT on (2M+1) samples and

examine normalized squared magnitude

Note: for each frequency 𝑓, 𝑃𝑀 𝑓 is a random variable

^

Page 10: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

M

Mk

fkjekrM

k 2)(12

1

M

Mk

fkjM

Mk

fkj ekrkM

ekr 22 )(12

1)(

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [10]

Ensemble Average of 𝑃𝑀 𝑓

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

M

Mn

M

Mm

mnfj

M emnrM

fPE )(2)(12

1)]([

M

Mk

fkjekrkMM

2)()12(12

1

Now, what if M goes to infinity?

^

Page 11: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

)( ][12

1lim)(

2

2

M

Mn

fnj

Menx

MEfP

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [11]

P.S.D. and Ensemble Fourier Magnitude

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

) If the autocorrelation function decays fast enough s.t.

)for rapidly 0)( (i.e., )(

kkrkrkk

then

k

fkj

MM

fPekrfPE )()()]([lim 2

p.s.d.

Thus

^

Page 12: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [12]

Smeared P.S.D. for Finite Length Data

)(*)(

)()( 2

fWfP

ekrkwM

Mk

fkj

121)(

M

kkw

true p.s.d. P(f )

smeared p.s.d.

P(f ) * W(f )

Recall )]([ fPE M

where

2/sin)1(2

2/)1(sin)(

M

MfW

[Hayes Fig. 8.5]

^

Page 13: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics

50 realizations overlaid

Nonparametric spectral estimation [13]

Frequency Resolution Improves as N increases

averaged

Signal length N = 40

Signal length N = 64

[Hayes Fig. 8.8]

Frequency resolution:

O(1/N)

Page 14: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [14]

3.1.1 Periodogram Spectral Estimator

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

(1) This estimator is based on (**)

Given an observed data set {x[0], x[1], …, x[N-1]},

the periodogram is defined as

21

0

2PER ][

1)(

N

n

fnjenxN

fP

Page 15: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

0for )()( ];[][1

)(1

0

kkrkrknxnxN

krkN

n

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [15]

An Equivalent Expression of Periodogram

– The quality of the estimates for the higher lags of r(k) may be poorer since they involve fewer terms of lag products in the averaging operation

– Autocorrelation sequence is zeroed out for |k| ≥ N.

Exercise: Prove using the definition of the periodogram estimator.

UM

CP

EN

EE

63

0 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

04)

The periodogram estimator can be written in terms of

where

)(kr

fkjN

Nk

ekrfP 21

)1(

PER )()(

Page 16: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

otherwise0

;0,1),...,1(for )2exp(1

][ 0 NnnfjNnh

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [16]

(2) Filter Bank Interpretation of Periodogram

– Impulse response of the filter h[n]: a windowed version of a

complex exponential

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

For a particular frequency of f0:2

1

0

2

0PER ][1

)( 0

N

k

kfjkxe

NfP

0

21

0

][][

n

N

k

kxknhN

where

Page 17: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [17]

Frequency Response of h[n]

H(f) is a bandpass filter

– Center frequency is f0

– 3dB bandwidth 1/N

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

)()1(exp)(sin

)(sin)( 0

0

0 ffNjffN

ffNfH

aliased-sinc function centered at f0:

Page 18: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [18]

Periodogram: Filter Bank Perspective

Can view the periodogram as an estimator of power spectrum that has a built-in filterbank

– The filter bank ~ a set of bandpass filters

– The estimated p.s.d. for each frequency f0 is the power of one

output sample of the bandpass filter centering at f0

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

0

21

0

0PER ][][)(

n

N

k

kxknhNfP

Page 19: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [19]

E.g. White Gaussian Process

The random fluctuation (measured by variance) of the periodogram

estimator does not decrease with increasing N

periodogram is an inconsistent estimator

[Lim/Oppenheim Fig.2.4]

Periodogram of zero-mean white Gaussian noise

using N-point data record: N = 128, 256, 512, 1024

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu

© 2

00

3)

N = 128

N = 256

N = 512

N = 1024

Page 20: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [20]

(3) How Good is Periodogram for Spectral Estimation?

Estimation: Tradeoff between bias and variance

For white Gaussian process, one can show that at fk = k/N

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

/2004)

?)( p.s.d. will, If PER fPPN

Page 21: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [21]

Performance of Periodogram: Summary

The periodogram for white Gaussian process is an

unbiased estimator but not consistent

– The variance does not decrease with increasing data length

– Its standard deviation is as large as the mean (equal to the quantity to be estimated)

Reasons for the poor estimation performance

– Given N real data points, the # of unknown parameters {P(f0), … P(fN/2)} we try to estimate is N/2, i.e., proportional to N

Similar conclusions can be drawn for processes with arbitrary p.s.d. and arbitrary frequencies

– Asymptotically unbiased (as N goes to infinity) but inconsistent

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 22: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [22]

3.1.2 Averaged Periodogram

One solution to the variance problem of periodogram

– Average K periodograms computed from K sets of data records

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

1

0

(m)

PERAVPER )(1

)(K

m

fPK

fP

where2

1

0

2(m)

PER ][1

)(

L

n

fnj

m enxL

fP

and the N = KL data points are arranged into K sets of length L:

... ; ]1[ ..., ],[ ];1[ ..., ],0[{ 1100 LxnxLxx

} ]1[ ..., ],[ 11 Lxnx KK

Page 23: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [23]

Performance of Averaged Periodogram

– Assume the K sets of data records are mutually uncorrelated.

– For a white Gaussian input signal, 𝑃AVPER(𝑚)

𝑓 ,𝑚 = 0,… , 𝐿 −

1 are i.i.d., and one can verify that

– If L is fixed, K and N are allowed to go to infinite, then 𝑃AVPER 𝑓 is a consistent estimator.

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 24: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [24]

Practical Averaged Periodogram

Usually we partition an available data sequence of length N

into K non-overlapping blocks, each block has length L (i.e., N=KL):

Since the blocks are contiguous, the K sets of data records

may not be completely uncorrelated

– Thus the variance reduction factor is in general less than K

Periodogram averaging is also known as Bartlett’s method

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

1 ..., ,1 ,0 ,][][ LnmLnxnxm

1 ..., ,1 ,0 Km

Page 25: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [25]

Averaged Periodogram for Fixed Data Size

Given a data record of fixed length N, will the result continue improving if we segment it into more and more subrecords?

We examine for a real-valued stationary process:

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

)(ˆ)(1

)( )0(

PER

1

0

)(

PERPER AV fPEfPK

EfPEK

m

m

identical stat. mean for all m

Note

where

1

)1(

2)0()0(

PER )(ˆ)(ˆL

Ll

fljelrfP

lL

n

lnxnxL

lr1

0

)0( ][1

)(ˆ

an equivalent expression to definition in terms of x[n]

Page 26: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [26]

Mean of Averaged Periodogram

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 27: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

Biased estimator (both averaged and regular periodogram)

– The convolution with the window function w[k] lead to the mean of the averaged periodogram being smeared from the true p.s.d.

Asymptotically unbiased as L

– To avoid the smearing, the window length L must be large enough so that the narrowest peak in P(f ) can be resolved

Fixing N = KL, the choice of K leads to a tradeoff between bias and variance

Small K => better resolution (smaller smearing/bias) but larger variance

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [27]

Statistical Properties of Averaged Periodogram

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

fkrkwfPE )}(][{DTFT)](ˆ[ PER AV

dPfW )()(2

1

2

1

)( fP

multiplication in time

convolution in frequency

Page 28: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [28]

Non-parametric Spectrum Estimation: Recap

Periodogram

– Motivated by relation between p.s.d. and squared magnitude of DTFT

of a finite-size data record

– Variance: won’t vanish as data length N goes infinity: “inconsistent”

– Mean: asymptotically unbiased w.r.t. data length N in general

equivalent to apply triangular window to autocorrelation function

(windowing in time gives smearing/smoothing in freq. domain)

unbiased for white Gaussian (flat spectrum)

Averaged periodogram

– Reduce variance by averaging K sets of data record of length L each

– Small L increases smearing/smoothing in p.s.d. estimate thus higher

bias equiv. to triangular windowing to autocorrelation sequence

Windowed periodogram: generalize to other symmetric windows

Page 29: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [29]

Case Study on Non-parametric Methods

Test case: a process consists of narrowband components (sinusoids) and a broadband component (AR)

– N = 32 data points are available periodogram resolution f = 1/32

Examine typical characteristics of various non-parametric spectral estimators

(Fig.2.17 from Lim/Oppenheim book)

Page 30: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [30]

Page 31: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [31]

3.1.3 Periodogram with Windowing

Review and Motivation

– The higher lags of r(k), the poorer estimates since the estimates involve fewer terms of lag products in the averaging operation

Solution: weigh the higher lags less

– Trade variance with bias

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

The periodogram estimator can be given in terms of )(kr

1

)1(

2PER )()(

N

Nk

fkjekrfP

where )()( ];[][1

)(1

0

kN

n

krkrknxnxN

kr

0for k

Page 32: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [32]

Windowing

Use a window function to weigh the higher lags less

Effect: periodogram smoothing

– Windowing in time Convolution/filtering the periodogram

– Also known as the Blackman-Tukey method

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

w(0)=1 preserves variance r(0)

Page 33: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [33]

Common Lag Windows

Much of the art in non-parametric spectral estimation is in choosing an appropriate window (both in type and length)

Table 2.1 common lag window

(from Lim-Oppenheim book)

UM

CP

EN

EE

62

4/6

30 S

lide

s (

cre

ate

d b

y M

.Wu ©

20

03

)

Page 34: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

• Hints on proving

the non-negative

definiteness: using

𝑟1 𝑘 to construct

correlation matrix

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [34]

Discussion: Estimate r(k) via Time Average

Normalizing the sum of (N−k) pairs

by a factor of 1/N ? v.s. by a factor of 1/(N−k) ?

Biased (low variance) Unbiased (may not non-neg. definite)

Page 35: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [35]

3.1.4 Minimum Variance Spectral Estimation (MVSE)

Recall: filter bank perspective of periodogram

– The periodogram can be viewed as estimating the p.s.d. by

forming a bank of narrowband filters with sinc-like response

– The high sidelobe can lead to “leakage” problem:

large output power due to p.s.d. outside the band of interest

MVSE designs filters to minimize the leakage from out-of-band spectral components

– Thus the shape of filter is dependent on the frequency of interest

and data adaptive

(unlike the identical filter shape for periodogram)

– MVSE is also referred to as the Capon spectral estimator

Page 36: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [36]

Main Steps of MVSE Method

1. Design a bank of bandpass filters Hi(f) with center frequency fi so that

– Each filter rejects the maximum amount of out-of-band power

– And passes the component at frequency fi without distortion

2. Filter the input process {x[n]} with each filter in the filter bank and estimate the power of each output process

3. Set the power spectrum estimate at frequency fi to be the power estimated above divided by the filter bandwidth

Page 37: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

dffPfH )()(2

2

1

2

1

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [37]

Formulation of MVSE

The MVSE designs a filter H(f) for each

frequency of interest f0

minimize the output power

subject to

(i.e., to pass the components at f0 w/o distortion)

1)( 0 fH

Page 38: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

0

)1(

0

)1(

2

1

2

1

)(2)(][][Nk Nl

klfj dfefPlhkh

0

)1(

0

)1(

)(][][Nk Nl

klrlhkh

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [38]

Output Power From H(f) filter

From the filter bank perspective of periodogram:

Thus

0

)1(

2][)(Nn

fnjenhfH

dffPelhekhNl

flj

Nk

fkj )(][][0

)1(

22

1

2

1

0

)1(

2

Equiv. to filtering r(k)

with h(k) h*(−k)

and evaluating at

output time k = 0

Page 39: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

Thus the problem becomes

hRh TH

hmin subject to 1eh

H

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [39]

Matrix-Vector Form of MVSE Formulation

Define

The constraint can be written in

vector form as 1ehH

)( 0fH

Page 40: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [40]

Solving MVSE

Use Lagrange multiplier approach for solving the constrained optimization problem

– Define real-valued objective function s.t. the stationary condition

can be derived in a simple and elegant way based on the theorem

for complex derivative/gradient operators

)1()1(

)1()1(min

*

*

,

heehhRh

ehehhRhJ

HHTH

HHTH

h

00

00or

00either

**

*

ehRehR

eRhJ

ehRJ

THT

TTH

h

T

h

)1(2Re ehhRhJHTH

def

1 and

1

eh

eRh

H

T

Page 41: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [41]

Solution to MVSE

The optimal filter and its

output power:

eRe

eeRe

Rh

TH

TH

T

MV

1

1

1

1

Filter’s output power:

1eRRhhRh TTHTH

* ,

)1()1(min ehehhRhJHHTH

h

)( )(0 0or

)( 1 0or

1

H

*

*

eRhehRJ

ehJ

TT

hh

eRe TH 1

1

Bring () into ():

Page 42: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [42]

MVSE: Summary

MVSE is a data adaptive estimator and provides improved resolution and reduced variance over periodogram

– Also referred to as “High-Resolution Spectral Estimator”

– Doesn’t assume a particular underlying model for the data

(i.e. normalize by filter b.w.)

If choosing the bandpass filters to be FIR of length q,

its 3dB-b.w. is approximately 1/q

Thus the MVSE is

eRe

qfP

TH 1MV

ˆ)(

matrix ncorrelatio is ˆ qqR

))1(2exp(

)2exp(

1

qfj

fje

Page 43: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [43]

MVSE vs. Periodogram

MVSE is a data adaptive estimator and provides improved resolution and reduced variance over periodogram

Periodogram MVSE

Equivalent

Bandpass Filter

h

e

Filter is “universal”

data-independentFilter adapts to

observation data via R

Equivalent

spectrum estimate

eeRe

RTH

T

1

1

eRe

q

TH 1ˆ

)( fP

eReq TH ˆ

Page 44: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [44]

Recall: Case Study on Non-parametric Methods

Test case: a process consists of narrowband components (sinusoids) and a broadband component (AR)

– N = 32 data points are available periodogram resolution f = 1/32

Examine typical characteristics of various non-parametric spectral estimators

(Fig.2.17 from Lim/Oppenheim book)

Page 45: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [45]

Page 46: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

Ref. on Derivative and Gradient Operators for

Complex-Variable Functions

Ref: D.H. Brandwood, “A complex gradient operator and its application

in adaptive array theory,” in IEE Proc., vol. 130, Parts F and H, no.1,

Feb. 1983.

(downloadable from IEEEXplore)

– Solving constrained optimization

with real-valued objective function of complex variables,

subject to constraint function of complex variables

As seen in minimum variance spectral estimation and other array/statistical signal processing context.

NCSU ECE792-41 Statistical Methods for Signal Analytics Discussions [46]

Page 47: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [47]

Reference

UM

CP

EN

EE

40

8G

Slid

es (

cre

ate

d b

y M

.Wu

& R

.Liu

© 2

00

2)

Page 48: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

Recall: Filtering a Random Process

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [48]

Page 49: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [49]

Chi-Squared Distribution

Page 50: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [50]

Chi-Squared Distribution (cont’d)

Page 51: Part III Spectrum Estimation 3.1 Classic Methods for ...ECE792-41 Statistical Methods for Signal Analytics Part III Spectrum Estimation 3.1 Classic Methods for Spectrum EstimationElectrical

NCSU ECE792-41 Statistical Methods for Signal Analytics Nonparametric spectral estimation [51]

Periodogram of White Gaussian Process

See proof in Appendix 2.1 in Lim-Oppenheim Book:

- Basic idea is to examine the distribution of real and

imaginary part of the DFT, and take the magnitude