StatTimeSerAnalysis.ACF Method

procedure ACF(const Src: TVec; const Dst: TVec; Lags: Integer);

Autocorrelation/autocovariance function.

#NameDescription
1SrcSample data set.
2DstStores sample autocorrelation (ACF) function. Size of Dst is adjusted automatically.
3LagsNumber of lags to calculate. If Lags is -1 the number of lags is computed as Lags := Ceil(10*Log10(Src.Length))

Result: stored in self (calling object)

Remarks:

Calculates sample autocorrelation function at lags Lags.

See Also: StatTimeSerAnalysis.AutoCov