DynareWiki

Symbol Types

  1. endogenous variables (appear in declaration, model, various initializations) (Type: eEndogenous)

  2. exogenous variables, deterministic with simul, stochastic with stoch_simul or estimation (appear in declaration, model, various initializations) (Type: eExogenous)

  3. deterministic variables, deterministic with stoch_simul (appear in declaration, model, various initializations) (Type: eExogenousDet)

  4. parameters (appear in declaration, value assignement, model, estim_params, coeff_trends) (Type: eParameter)

  5. local variables whose scope is the whole mod file except the model declaration (see below) (Type: eModFileLocalVariable)

  6. local variables whose scope is the model declaration (their declaration begins with a '#', see below) (Type: eModelLocalVariable)

  7. loop indexes (not yet implemented)
  8. unknown functions are function that are unknown by Dynare derivator and are a NAME that isn't a declared variable followed by (). The existence of such unknown functions should trigger numerical derivation rather than analytical. It will be necessary to provide an interface to declare the derivatives on a user function.

Local variables

In the mod file, it is possible to use variables which are never explicitely declared. We call them local variables.

There are two types of such variables:

Parsing

During the parsing process, when the parser encounters an unknown symbol outside the model block, it adds it to the symbol table with the eModFileLocalVariable type.

The parser currently distinguishes the following cases:

DynareWiki: SymbolTypes (last edited 2009-03-25 17:11:52 by localhost)