covgen {timsac} | R Documentation |
Covariance Generation
Description
Produce the Fourier transform of a power gain function in the form of an autocovariance sequence.
Usage
covgen(lag, f, gain, plot = TRUE)
Arguments
lag |
desired maximum lag of covariance. |
f |
frequency |
gain |
power gain of the filter at the frequency |
plot |
logical. If |
Value
acov |
autocovariance. |
acor |
autocovariance normalized. |
References
H.Akaike, E.Arahata and T.Ozaki (1975) Computer Science Monograph, No.5, Timsac74, A Time Series Analysis and Control Program Package (1). The Institute of Statistical Mathematics.
Examples
spec <- raspec(h = 100, var = 1, arcoef = c(0.64,-0.8), plot = FALSE)
covgen(lag = 100, f = 0:100/200, gain = spec)
[Package timsac version 1.3.8-4 Index]