powered by
bispeces
bispeces performs indirect bivariate spectral estimation of two series y1, y2 using lagwindows
bispeces(y1, y2, q, win = "bartlett")
vector, the first time series
vector, the second time series
number of covariances used for indirect spectral estimation
lagwindow (possible: "bartlett", "parzen", "tukey")
out data frame with columns:
frequencies 0, 1/n, 2/n, ... (<= 1/2 )
estimated coherency at Fourier frequencies 0,1/n, ...
estimated phase at Fourier frequencies 0,1/n, ...
# NOT RUN { data(ICECREAM) y <- ICECREAM out <- bispeces(y[,1],y[,2],8,win="bartlett") # }
Run the code above in your browser using DataLab