void DurbinLevinson(TVec *gamma, TVec *Phi, double &Sigma2, const int NumEvals, TVec *PhiVar = null);
The Durbin-Levinson algorithm.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | gamma | TVec * | Defines covariances for Durbin-Levinson algorithm. |
| 2 | Phi | TVec * | Returns phi[n,1]...phi[n,n] coefficients. |
| 3 | Sigma2 | double & | Returns estimated variance. |
| 4 | NumEvals | const int | Defines number of iterations of the Durbin-Levinson algorithm. |
| 5 | PhiVar = null | TVec * | If not nil, it returns phi coefficients variances. |
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
Declared in Dew::Stats::Units::StatTimeSerAnalysis · Dew.Stats/Units.StatTimeSerAnalysis.h · Cross-compiler