SLIDE 1
Tapering
- The periodogram works well with data containing only Fourier
frequencies:
w = rnorm(128, sd = 0.01); x5 = cos(2*pi*(5/128)*(1:128)) + w; x6 = cos(2*pi*(6/128)*(1:128)) + w; par(mfcol = c(3, 1), mar = c(2, 2, 1, 1)); spectrum(x5, taper = 0, ylim = c(1e-7, 1e2)); spectrum(x6, taper = 0, ylim = c(1e-7, 1e2));
- It doesn’t work so well with other frequencies: