procedure DurbinLevinson(const gamma: TVec; const Phi: TVec; out Sigma2: Double; const NumEvals: Integer; const PhiVar: TVec);
The Durbin-Levinson algorithm.
| # | Name | Description |
|---|---|---|
| 1 | gamma | Defines covariances for Durbin-Levinson algorithm. |
| 2 | Phi | Returns phi[n,1]...phi[n,n] coefficients. |
| 3 | NumEvals | Defines number of iterations of the Durbin-Levinson algorithm. |
| 4 | Sigma2 | Returns estimated variance. |
| 5 | PhiVar | If not nil, it returns phi coefficients variances. |
Result: stored in self (calling object)
Remarks:
Uses the Durbin-Levinson algorithm to calculate phi[n,1]...phi[n,n] coefficients. Coefficients are calculated resursively from the following relations:
where phi(1,1) = gamma(1)/gamma(0) and v(0)=gamma(0).
See Also: StatTimeSerAnalysis.Innovations