StatTimeSerAnalysis.ShortenFilter Method

procedure ShortenFilter(const Data: TVec; const S: TVec; out Tau: Integer; const Filter: TVec; const MaxTau: Integer);

Memory-shortening filter.

#NameDescription
1DataOriginal time series.
2SReturns transformed time series.
3TauReturns optimal Tau shortening index.
4FilterIf set, it returns coefficients of memory shortening filter. Size of Phi is adjusted automatically.
5MaxTauMaximum number of iterations in ERR minimization (default value 15).

Result: stored in self (calling object)

Remarks:

Decide if time series is "long-memory", and if so, apply a memory-shortening transformation, as defined in Brockwell, page 318.

Examples
Uses MtxExpr, StatTimeSerAnalysis;
var ts,s,phi: Vector;
tau: Integer;
begin
    ts.LoadFromFile('Deaths.vec');
    ShortenFilter(ts,s,tau,phi);
end;
See Also: StatTimeSerAnalysis.ARARFit, StatTimeSerAnalysis.ARARForecast