Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tapering and prewhitening fFT taper, h(u). Need for prewhitening/prefiltering periodogram is generally biased.

Similar presentations


Presentation on theme: "Tapering and prewhitening fFT taper, h(u). Need for prewhitening/prefiltering periodogram is generally biased."— Presentation transcript:

1 Tapering and prewhitening fFT taper, h(u)

2

3

4 Need for prewhitening/prefiltering periodogram is generally biased

5 Smoothed periodogram Expected value generally biased, but not for white noise

6 Improve by prefiltering Y filtered version of X with transfer function A dZ Y (λ) = A(λ)dZ X (λ) f YY (λ) = |A (λ)| -2 f XX (λ) f XX (λ) = |A (λ)| -2 f YY (λ) For example: detrend, “remove” peaks, fit autoregressive

7 The importance of prefiltering. The estimates are generally biased E{ f T ( )} =  W T ( -  ) f(  ) d  Seismic noise horizontal components recorded at UCB Estimated coherence can be 1,0 when no relation Estimated coherence can be 0.0 when linearly time invariantly related

8

9

10 postscript(file="seismic.eps") junkx<-scan("ts_drb.16.dat") junky<-scan("ts_drb.17.dat") par(mfrow=c(2,1)) xaxis<-c(1:2500)*.08 plot(xaxis,junkx,type="l",main="Vertical component seismic noise at Berkeley",xlab="time (sec)",ylab="",las=1) plot(xaxis,junky,type="l",main="West component",xlab="time(sec)",ylab="",las=1) par(mfrow=c(2,3)) junk<- spec.pgram(cbind(junkx,junky),spans=15,taper=0,detrend=F,demean =T,plot=F) junk$freq<-junk$freq/.08 plot(junk$freq,junk$spec[,1],type="l",las=1,main="Vertical noise",xlab="frequency (hertz)",log="y") plot(junk$freq,junk$spec[,2],type="l",las=1,main="West noise",log="y") plot(junk$freq,junk$coh,type="l",ylim=c(0,1),main="Raw data",las=1) abline(h=1-(1-.95)^(1/(.5*(junk$df-2))))

11 junkxx<-ar(junkx,order.max=2) junkyy<-ar(junky,order.max=2) Junkx<-junkxx$resid Junky<-junkyy$resid Junkx<-Junkx[3:length(Junkx)];Junky<- Junky[3:length(Junky)] Junk<- spec.pgram(cbind(Junkx,Junky),spans=15,taper=0,detrend=F, demean=T,plot=F) Junk$freq<-Junk$freq/.08 plot(Junk$freq,Junk$spec[,1],type="l",las=1,log="y") plot(Junk$freq,Junk$spec[,2],type="l",las=1,log="y") plot(Junk$freq,Junk$coh,type="l",ylim=c(0,1),main="AR(2) residuals",las=1) abline(h=1-(1-.95)^(1/(.5*(junk$df-2)))) graphics.off()


Download ppt "Tapering and prewhitening fFT taper, h(u). Need for prewhitening/prefiltering periodogram is generally biased."

Similar presentations


Ads by Google