Commit Graph

10 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) edede274f2
Make the detection of the target in PAC equation more robust.
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).
2020-07-24 17:36:31 +02:00
Sébastien Villemot 88c38c9ebc
Fixed some trend_component_model tests
Those tests broke because they were declaring an endogenous (var_allows_…) that
is not used in the model, and this is no longer allowed by the preprocessor.

Those variables were introduced by commit
dccabecee7 (on the old ecb-master branch), at the
same time as a second PAC equation was introduced.

The fix consists in making the second PAC equation different from the first
one, defining a different endogenous.
2019-09-26 17:35:15 +02:00
Houtan Bastani dccabecee7
fix trend-component tests 2019-03-15 13:29:15 +01:00
Stéphane Adjemian (Charybdis) 4943bf5fd1
Updated integration tests fro trend component models. 2019-02-21 12:52:12 +01:00
Houtan Bastani a7165e2c12
fix tests 2019-02-19 12:34:30 +01:00
Houtan Bastani eb52cc9953
preprocessor: submodule update 2019-02-14 17:41:07 +01:00
Stéphane Adjemia (Scylla) 2c890f924a
Removed useless tags. 2018-10-24 14:28:32 +02:00
Stéphane Adjemian(Charybdis) a680cea095
Fixed integration test for trend component model (equation ordering). 2018-09-28 17:39:14 +02:00
Houtan Bastani eb316d7e2d update files for change of option name from `trends` to `targets` 2018-09-13 12:24:32 +02:00
Stéphane Adjemian(Charybdis) 5ea0c8098b Ensure that the ordering of the trend variables is consistent...
... With the ordering of the EC variables.
2018-09-03 17:35:59 +02:00