lead: Forward Lead Operator for DSGE Equations

View source: R/model-specification.R

leadR Documentation

Forward Lead Operator for DSGE Equations

Description

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.

Usage

lead(x, k = 1L)

Arguments

x

A variable name (unquoted) within a DSGE equation formula.

k

Integer lead horizon. Currently only k = 1 is supported. Default is 1.

Details

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().

Value

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().

See Also

E() for a user-friendly alias, dsge_model()


dsge documentation built on Sept. 25, 2026, 5:08 p.m.