bispec | R Documentation |
Compute bi-spectrum using the direct Fourier transform of sample third order moments.
bispec(y, lag = NULL, window = "Akaike", log = FALSE, plot = TRUE)
y |
a univariate time series. |
lag |
maximum lag. Default is |
window |
character string giving the definition of smoothing window. Allowed strings are "Akaike" (default) or "Hanning". |
log |
logical. If |
plot |
logical. If |
Hanning Window : | a1(0)=0.5, | a1(1)=a1(-1)=0.25, | a1(2)=a1(-2)=0 |
Akaike Window : | a2(0)=0.625, | a2(1)=a2(-1)=0.25, | a2(2)=a2(-2)=-0.0625 |
pspec |
power spectrum smoothed by ' |
sig |
significance. |
cohe |
coherence. |
breal |
real part of bispectrum. |
bimag |
imaginary part of bispectrum. |
exval |
approximate expected value of coherence under Gaussian assumption. |
H.Akaike, E.Arahata and T.Ozaki (1975) Computer Science Monograph, No.6, Timsac74, A Time Series Analysis and Control Program Package (2). The Institute of Statistical Mathematics.
data(bispecData)
bispec(bispecData, lag = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.