Node:histval, Previous:endval, Up:Initial and terminal conditions



endval

histval;
Command
INITIALIZATION_STATEMENT;
[INITIALIZATION_STATEMENT]
...
end;

INITIALIZATION_STATEMENT : VARIABLE_NAME (integer) = EXPRESSION;

EXPRESSION is any valid expression returning a numerical value and can contain already initialized variable names.

In models with lags on more than one period, the optional histval; ... end; block permits to specify different historical initial values for different periods.

By convention in Dynare, period 1 is the first period of the simulation. Going backward in time, the first period before the start of the simulation is period 0, then period -1, and so on.

If your lagged variables are linked by identities, be careful to satisfy these identities when you set historical initial values.

Example

var x y;
varexo e;

model;
x = y(-1)^alpha*y(-2)^(1-alpha)+e;
...
end;

initval;
x = 1;
y = 1;
e = 0.5;
end;

steady;

histval;
y(0) = 1.1;
y(-1) = 0.9;
end;