- Can handle more than one equation. - Can handle identities. - Forbids dynamic equations. - Can handle following LHS y, diff(y), diff(diff(y)), log(y), diff(log(y)) and diff(diff(log(y))), other transformations will result in an error. - Added integration tests. Remark 1. In the integration tests I compare the values returned by the evaluate routine with the values computed with the simulation routines. Normally the discrepancies should be small, but this is not the case when the endogenous variable appear under a log on the LHS. My current conclusion is that this has more to do with the cumulation of the accuracy errors in the simulation routine (a sequence of Newton algorithms) rather than with the evaluate routine. Remark 2. Currently the only allowed nonlinear transformation on the LHS endogenous variable is the log. It is not difficult to generalise, at some point I had all the matlab functions allowed by Dynare, but this would complicate the code for not much gain. |
||
---|---|---|
.. | ||
trend-component-1 | ||
trend-component-1-mce | ||
trend-component-2 | ||
trend-component-2-mce | ||
trend-component-3 | ||
trend-component-4 | ||
trend-component-5 | ||
trend-component-6 | ||
trend-component-7 | ||
trend-component-8-mc-iterative-ols | ||
trend-component-8-mc-nls | ||
trend-component-9 | ||
trend-component-10 | ||
trend-component-11 | ||
trend-component-12 | ||
trend-component-13a | ||
trend-component-13b | ||
trend-component-14 | ||
trend-component-15 | ||
trend-component-16 | ||
trend-component-17 | ||
trend-component-18 | ||
trend-component-19 | ||
trend-component-20-1 | ||
trend-component-20-2 | ||
trend-component-20-3 | ||
trend-component-20-4 | ||
trend-component-21 | ||
trend-component-22 | ||
trend-component-23 | ||
trend-component-24 | ||
trend-component-25 | ||
trend-component-26 | ||
trend-component-27 | ||
trend-component-28 | ||
trend-component-29 | ||
var-0 | ||
var-1 | ||
var-2 | ||
var-3 | ||
var-4 | ||
var-5 | ||
var-6 | ||
.gitignore | ||
LICENSE | ||
README.md | ||
run_all_tests.m |
README.md
Collection of *.mod
files for testing the PAC routines in Dynare. To run all the tests sequentially and check that all the *.mod
files pass the tests, just use the matlab function in the base directory:
>> run_all_tests()
If all goes well, the output should terminate with something like:
Testsuite results (PAC model):
var-1 PASS (2.0479s)
var-2 PASS (1.9601s)
var-3 PASS (1.9826s)
var-4 PASS (2.0079s)
trend-component-1 PASS (2.2214s)
trend-component-2 PASS (2.2195s)
trend-component-3 PASS (2.3003s)
trend-component-4 PASS (10.5143s)
trend-component-5 PASS (2.1538s)
trend-component-6 PASS (2.4203s)
trend-component-7 PASS (2.7112s)
trend-component-9 PASS (2.2164s)
trend-component-10 PASS (2.2593s)
trend-component-11 PASS (0.69409s)
trend-component-12 PASS (2.2663s)
trend-component-13a PASS (0.4119s)
trend-component-13b PASS (0.39554s)