function AutoCorrBiased(const Vec: TVec; Lags: Integer): TVec;
Biased auto-correlation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVec | |
| 2 | Lags | Integer |
Result: stored in self (calling object), returns self for chaining
Remarks:
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:
Examples
var a,b: Vector;
begin
a.SetIt(False,[1,2,3,4]);
b.AutoCorrBiased(a,2);
end;
See Also: Vector.AutoCorrNormal, Vector.AutoCorrUnBiased