#662 closed defect (fixed)
ARMAProcess::Eval.Almagro fails sometimes — at Version 5
| Reported by: | Víctor de Buen Remiro | Owned by: | Víctor de Buen Remiro |
|---|---|---|---|
| Priority: | highest | Milestone: | Numerical methods |
| Component: | Math | Version: | 1.1.7 |
| Severity: | blocker | Keywords: | ARMA, likelihood evaluation, BSR |
| Cc: |
Description (last modified by )
In tol_tests/tol/random_generation/test_0005/test.tol there is a test for random generation of parameters of a linear regression with ARMA noise.



It generates a set of independent vectors
and it calculates their logarithm of density.
First, the generalized linear regression is normalized by means of Cholesky decomposition of ARMA covariance





Calculating Cholesky decomposition

we have that



Obviously, logarithm of density of
is the same than for 

Now, if we calculate ARMA noise corresponding for simulated 

From Bayes theorem, logarithm of density of
matches

TOL has two methods to calculate likelihood of an ARMA noise, ARIMALevinsonEval and ARIMAAlmagroEval (or alternatively ARMAProcess::Eval.Almagro). Well, ARIMALevinsonEval matches perfectly the given relation but ARIMAAlmagroEval fails sometimes.
Change History (5)
comment:1 Changed 17 years ago by
| Description: | modified (diff) |
|---|---|
| Status: | new → assigned |
comment:2 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 Changed 17 years ago by
comment:4 Changed 17 years ago by
| Description: | modified (diff) |
|---|
comment:5 Changed 17 years ago by
| Description: | modified (diff) |
|---|

(In [777]) Fixing bug in calculation of _.cov_za at function Eval.Almagro
Fixes #662