transform_unary_ops
To support VARs, unary operations such as log
and exp
must be replaced by auxiliary variables and equations.
If a user passes the transform_unary_ops
option on the dynare
command line, these substitutions will be made everywhere in the model.
If the user does not pass this option but a var_model
statement is present, these substitutions will nevertheless be performed, but only for unary operations appearing in the VAR model equations. NB: This list of equations will need to be increased for other commands expecting linear equations, e.g. OLS.
Something to note: This issue cannot be closed until we verify that use_dll
with the fast
option outputs the correct model when the option changes or when a var_model
statement appears or disappears.