Opened 17 years ago
Last modified 17 years ago
#662 closed defect
ARMAProcess::Eval.Almagro fails sometimes — at Initial Version
| 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
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 

By Bayes theorem, logarithm of density of
matches

TOL has two methods for 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.
