-
- Downloads
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).
Showing
- preprocessor 1 addition, 1 deletionpreprocessor
- tests/pac/trend-component-13a/example.mod 1 addition, 1 deletiontests/pac/trend-component-13a/example.mod
- tests/pac/trend-component-13b/example.mod 2 additions, 2 deletionstests/pac/trend-component-13b/example.mod
- tests/trend-component-and-var-models/tcm6.mod 3 additions, 3 deletionstests/trend-component-and-var-models/tcm6.mod
- tests/trend-component-and-var-models/tcm7.mod 3 additions, 3 deletionstests/trend-component-and-var-models/tcm7.mod
- tests/trend-component-and-var-models/tcm8.mod 2 additions, 2 deletionstests/trend-component-and-var-models/tcm8.mod
Loading