In a PAC equation, the error correction term must be written as: β×(yₜ₋₁-xₜ₋₁) where x is the endogenous variable determined by the equation and y the target for x. The ordering matters, if not respected the preprocessor wll not identify the error correction term (hence the target) and will throw an error. The target must be an endogenous variable or the log of an endogenous variable. For a more general target, ie an expression, one can create an auxiliary variable. We impose the ordering, target comes first in the error correction term, so that the stability condition is always β>0 (this constraint can be enforced when estimating the PAC equation). |
||
---|---|---|
.. | ||
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-19-growth-lin-comb | ||
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 | ||
trend-component-30 | ||
trend-component-31 | ||
var-0 | ||
var-1 | ||
var-2 | ||
var-3 | ||
var-4 | ||
var-5 | ||
var-6 | ||
.gitignore | ||
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)