Skip to content
Snippets Groups Projects
Select Git revision
  • ef02b794862a1bd19cdfe9912af697ea66fb9182
  • master default protected
  • julia protected
  • 6.x protected
  • python-codegen
  • llvm-15
  • 5.x protected
  • 4.6 protected
  • uop
  • rework_pac
  • aux_vars_fix
  • julia-7.0.0
  • julia-6.4.0
  • julia-6.3.0
  • julia-6.2.0
15 results

DynamicModel.hh

Blame
  • Sébastien Villemot's avatar
    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
    71edfd05
    History
    DynamicModel.hh 31.47 KiB