Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Innovations(TDenseMtxVec *kappa, TVec *Theta, double &Sigma2, const int NumEvals, TVec *ThetaVar = null, TVec *SumSqr = null); | The innovations algorithm. |
| 2 | void Innovations(TDenseMtxVec *kappa, const int q, TMtx *ThetaMtx, TVec *Variances, const int NumEvals); | Uses the Innnovations algorithm to recursively calculate Theta[1,1]...Theta[n,n] coefficients (all coefficients). |
Overload 1: void Innovations(TDenseMtxVec *kappa, TVec *Theta, double &Sigma2, const int NumEvals, TVec *ThetaVar = null, TVec *SumSqr = null);
The innovations algorithm.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | kappa | TDenseMtxVec * | Defines covariances for innovations algorithm. |
| 2 | Theta | TVec * | Returns Theta[n,1]...Theta[n,n] coefficients. |
| 3 | Sigma2 | double & | Returns variance. |
| 4 | NumEvals | const int | Defines number of iterations of the innovation algorithm. |
| 5 | ThetaVar = null | TVec * | If not nil, returns theta[n,1]..Theta[n,n] variances. |
| 6 | SumSqr = null | TVec * | If not nil, returns sum of squares for each theta[n,i] element. |
Remarks:
Uses the Innnovations algorithm to recursively calculate Theta[n,1]...Theta[n,n] coefficients.
See Also: StatTimeSerAnalysis::DurbinLevinson
Declared in Dew::Stats::Units::StatTimeSerAnalysis · Dew.Stats/Units.StatTimeSerAnalysis.h · Cross-compiler
Overload 2: void Innovations(TDenseMtxVec *kappa, const int q, TMtx *ThetaMtx, TVec *Variances, const int NumEvals);
Uses the Innnovations algorithm to recursively calculate Theta[1,1]...Theta[n,n] coefficients (all coefficients).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | kappa | TDenseMtxVec * | |
| 2 | q | const int | |
| 3 | ThetaMtx | TMtx * | |
| 4 | Variances | TVec * | |
| 5 | NumEvals | const int |
Remarks:
The recursion relations are defined by the following equations:
where kappa(i,j) are covariances. Use this overloaded variant only when you need all theta[1,1]..theta[n,n] values, otherwise use vector version.
Declared in Dew::Stats::Units::StatTimeSerAnalysis · Dew.Stats/Units.StatTimeSerAnalysis.h · Cross-compiler