Summary
Biased auto-correlation.
Class
TVec
Declaration
Function AutoCorrBiased(Vec: TVec; Lags: integer): TVec;
Description
Calculates the biased auto-correlation of the vector Vec. The result of Length = Lags is stored in the calling vector (V). The Lags parameter must be equal or smaller than the calling vector length. The biased auto-correlation is defined by the following equation:

Example 1
var a,b: TVec;
begin
CreateIt(a,b);
try
a.SetIt(False,[1,2,3,4]);
b.AutoCorrBiased(a,2);
finally
FreeIt(a,b);
end;
end;
| Copyright 2008 Dew Research |
http://www.dewresearch.com