View source: R/model-specification.R
| lead | R Documentation |
Marks a variable as a one-period-ahead model-consistent expectation in a DSGE equation formula. This is the core primitive for forward-looking variables.
lead(x, k = 1L)
x |
A variable name (unquoted) within a DSGE equation formula. |
k |
Integer lead horizon. Currently only |
lead(x) in a DSGE equation represents the expectation of variable x
one period ahead, conditional on the model. In the literature, this
corresponds to E_t[x_{t+1}].
This function is not meant to be called directly. It is recognized by
the equation parser inside dsge_model().
This function is not meant to be called directly; it always
throws an error. It is recognized as a syntactic marker by the
equation parser inside dsge_model().
E() for a user-friendly alias, dsge_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.