Last chance! 50% off unlimited learning
Sale ends in
Estimates the spectral density and cross spectral density of vector time series.
spectral.density(
X,
Y = X,
freq = (-1000:1000/1000) * pi,
q = max(1, floor(dim(X)[1]^(1/3))),
weights = c("Bartlett", "trunc", "Tukey", "Parzen", "Bohman", "Daniell",
"ParzenCogburnDavis")
)
Returns an object of class freqdom
. The list is containing the following components:
operators
freq
.
freq
freq
.
a vector or a vector time series given in matrix form. Each row corresponds to a timepoint.
a vector or vector time series given in matrix form. Each row corresponds to a timepoint.
a vector containing frequencies in
window size for the kernel estimator, i.e. a positive integer.
kernel used in the spectral smoothing. By default the Bartlett kernel is chosen.
Let spectral.density
determines the empirical cross-spectral density between the two time series cov.structure
Here
See, e.g., Chapter 10 and 11 in Brockwell and Davis (1991) for details.
Peter J. Brockwell and Richard A. Davis Time Series: Theory and Methods Springer Series in Statistics, 2009