Dynare Reference Manual: Other general declarations

Next: Steady state, Previous: Shocks on exogenous variables, Up: The Model file [Contents][Index]

### 4.9 Other general declarations

Command: dsample INTEGER [INTEGER];

  Reduces the number of periods considered in subsequent output commands.

Command: periods INTEGER;

  Description

  This command is now deprecated (but will still work for older model files). It is not necessary when no simulation is performed and is replaced by an option `periods` in `perfect_foresight_setup`, `simul` and `stoch_simul`.

  This command sets the number of periods in the simulation. The periods are numbered from `1` to INTEGER. In perfect foresight simulations, it is assumed that all future events are perfectly known at the beginning of period `1`.

  Example

      periods 100;

Next: Steady state, Previous: Shocks on exogenous variables, Up: The Model file [Contents][Index]