Manual: explicitly say to which type the suffixes |e, |x and |p correspond

[skip ci]
silicon
Sébastien Villemot 2023-02-13 14:38:41 -05:00
parent dbcaa2abfa
commit def25a1fd3
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 7 additions and 6 deletions

View File

@ -493,12 +493,13 @@ quotes. Hence, to declare a variable ``c`` as endogenous in an equation tag,
you can type ``[endogenous='c']``. you can type ``[endogenous='c']``.
To perform on-the-fly variable declaration in an equation, simply follow the To perform on-the-fly variable declaration in an equation, simply follow the
symbol name with a vertical line (``|``, pipe character) and either an ``e``, an symbol name with a vertical line (``|``, pipe character) and either an ``e``
``x``, or a ``p``. For example, to declare a parameter named (for endogenous), an ``x`` (for exogenous), or a ``p`` (for parameter). For
``alphaa`` in the model block, you could write ``alphaa|p`` directly in example, to declare a parameter named ``alphaa`` in the model block, you could
an equation where it appears. Similarly, to declare an endogenous variable write ``alphaa|p`` directly in an equation where it appears. Similarly, to
``c`` in the model block you could write ``c|e``. Note that in-equation declare an endogenous variable ``c`` in the model block you could write
on-the-fly variable declarations must be made on contemporaneous variables. ``c|e``. Note that in-equation on-the-fly variable declarations must be made on
contemporaneous variables.
On-the-fly variable declarations do not have to appear in the first place where On-the-fly variable declarations do not have to appear in the first place where
this variable is encountered. this variable is encountered.