-
- Downloads
New “structural” option to “var_model”
As the name implies, this option allows contemporaneous variables on the RHS. The A0 matrix for contemporaneous variables is added as a second (optional) output to the generated var_ar.m file. Note that for reduced-form VAR, this matrix will be the identity. Also, the user is now allowed to write the VAR models in a more flexible form: the LHS must still be a single variable, but the RHS can be an arbitrary expression (as long as it is linear, obviously). Internally, the preprocessor now uses derivation to compute the coefficients of the AR and A0. This change applies to both reduced-form and structural VAR models. Ref. dynare#1785
Showing
- src/DynamicModel.cc 120 additions, 12 deletionssrc/DynamicModel.cc
- src/DynamicModel.hh 16 additions, 2 deletionssrc/DynamicModel.hh
- src/DynareBison.yy 3 additions, 1 deletionsrc/DynareBison.yy
- src/DynareFlex.ll 1 addition, 0 deletionssrc/DynareFlex.ll
- src/ExprNode.cc 10 additions, 0 deletionssrc/ExprNode.cc
- src/ExprNode.hh 4 additions, 0 deletionssrc/ExprNode.hh
- src/ModFile.cc 3 additions, 0 deletionssrc/ModFile.cc
- src/ParsingDriver.cc 6 additions, 1 deletionsrc/ParsingDriver.cc
- src/SubModel.cc 31 additions, 6 deletionssrc/SubModel.cc
- src/SubModel.hh 11 additions, 1 deletionsrc/SubModel.hh
Loading
Please register or sign in to comment