my.acf.Rd
Computes the autocovariance function (ACF) for a time series or the cross-covariance function (CCF) between two time series.
my.acf(x)
my.ccf(a, b)
x,a,b | time series |
---|
The autocovariance function for all nonnegative lags or the cross-covariance function for all lags.
The series is zero padded to twice its length before the discrete Fourier transform is applied. Only the values corresponding to nonnegative lags are provided (for the ACF).
B. Whitcher