Skip to content
Snippets Groups Projects
Select Git revision
  • pylib
  • master default protected
  • 5.x
  • wasm
  • julia
  • 4.6
  • uop
  • rework_pac
  • aux_vars_fix
  • julia-6.2.0
  • created_preprocessor_repo
11 results

SymbolTable.hh

Forked from Dynare / preprocessor
Source project has a limited visibility.
  • Sébastien Villemot's avatar
    71edfd05
    Add new “log” option to “var” statement · 71edfd05
    Sébastien Villemot authored
    When an endogenous is declared with “var(log)”, say “y”:
    – creates an auxiliary named “LOG_y”
    – replaces “y(±l)” everywhere by “exp(LOG_y(±l))”
    – adds a new auxiliary equation “y=exp(LOG_y)”
    – adds a new definition “LOG_y=log(y)” in set_auxiliary_variables.m and
      dynamic_set_auxiliary_series.m files
    
    This option also works in conjunction with “deflator=…”, such as “var(log,
    deflator=…)” (the “log” must appear befor “deflator”). There are no provisions
    for combining “log” with “log_deflator”, because that would not make much sense
    from an economic point of view (amounts to taking the log two times).
    
    Ref. dynare#349
    Verified
    71edfd05
    History
    Add new “log” option to “var” statement
    Sébastien Villemot authored
    When an endogenous is declared with “var(log)”, say “y”:
    – creates an auxiliary named “LOG_y”
    – replaces “y(±l)” everywhere by “exp(LOG_y(±l))”
    – adds a new auxiliary equation “y=exp(LOG_y)”
    – adds a new definition “LOG_y=log(y)” in set_auxiliary_variables.m and
      dynamic_set_auxiliary_series.m files
    
    This option also works in conjunction with “deflator=…”, such as “var(log,
    deflator=…)” (the “log” must appear befor “deflator”). There are no provisions
    for combining “log” with “log_deflator”, because that would not make much sense
    from an economic point of view (amounts to taking the log two times).
    
    Ref. dynare#349