E: Expectations operator (equation syntax only)

View source: R/dsl-vars.R

ER Documentation

Expectations operator (equation syntax only)

Description

E() marks model-consistent expectations inside eqs() declarations, e.g. E(pi[+1]). It is parsed by qpm_model() and never evaluated as an ordinary function.

Usage

E(x)

Arguments

x

A variable reference such as pi[+1].

Value

No return value; calling E() outside of model equations is an error by design.


qpmR documentation built on Sept. 29, 2026, 5:10 p.m.