Skip to content

anticipate (Plan)

Syntax

plan = anticipate(plan, anticipate, names)

Input arguments

plan [ Plan ]

Simulation plan.

anticipate [ true | false ]

New anticipation status for the names (variables, shocks).

names [ string ]

List of quantities whose anticipation status will be set to anticipate.

name [ string ]

Name of quantity whose anticipation status will be set to anticipate.

Output arguments

p [ Plan ]

Simulation plan with a new anticipation status for the specified quantities.

Description

The anticipation status of each variable and shock is determined as follows:

  1. At the top level, the overall anticipation status is given by the anticipate option at the time of creating the Plan object (its default value is true).

  2. Each shock and variable can be assigned a different anticipation status using this function, anticipate.

  3. Furthermore, each exogenize/endogenize swap pair can be assigned yet its own specific anticipation status.

Example