Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
41a8ff55
Commit
41a8ff55
authored
Aug 19, 2011
by
Sébastien Villemot
Browse files
Reference manual: fix description of EXPECTATION operator (closes #191)
parent
51f759c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/dynare.texi
View file @
41a8ff55
...
...
@@ -1206,9 +1206,7 @@ This operator is used to take the expectation of some expression using
a different information set than the information available at current
period. For example, @code{EXPECTATION(-1)(x(+1))} is equal to the
expected value of variable @code{x} at next period, using the
information set available at the previous period. Note that a value
of @code{0} for the time shift component is reserved for partial
information models (not yet fully implemented). @xref{Auxiliary
information set available at the previous period. @xref{Auxiliary
variables}, for an explanation of how this operator is handled
internally and how this affects the output.
@end deffn
...
...
@@ -1644,8 +1642,11 @@ variables will have a name beginning with @code{AUX_EXO_LEAD} or
Another transformation is done for the @code{EXPECTATION}
operator. For each occurence of this operator, Dynare creates an
auxiliary variable equal to @code{AUX_EXPECT_LAG_1 = x(+2)}, and
replaces the expectation operator by @code{AUX_EXPECT_LAG_1(-1)}.
auxiliary variable defined by a new equation, and replaces the
expectation operator by a reference to the new auxiliary variable. For
example, the expression @code{EXPECTATION(-1)(x(+1))} is replaced by
@code{AUX_EXPECT_LAG_1(-1)}, and the new auxiliary variable is
declared as @code{AUX_EXPECT_LAG_1 = x(+2)}.
Auxiliary variables are also introduced by the preprocessor for the
@code{ramsey_policy} command. In this case, they are used to represent the Lagrange
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment