shocks — specifies shocks on deterministic or stochastic exogenous variables
shocks;
(1) DETERMINISTIC SHOCK STATEMENT
|
(3) STOCHASTIC SHOCK STATEMENT
[
(1) DETERMINISTIC SHOCK STATEMENT
|
(3) STOCHASTIC SHOCK STATEMENT
...]
end;
(1) var VARIABLE_NAME
; periods (2) PERIOD STATEMENT; values EXPRESSION;
(2) INTEGER
[: INTEGER
] [INTEGER
[: INTEGER
]
...] ;
(3) (4) VARIANCE STATEMENT | (5) COVARIANCE STATEMENT | (6) STANDARD ERROR STATEMENT
(4)
var VARIABLE_NAME
= EXPRESSION
;
(5)
var VARIABLE_NAME
, VARIABLE_NAME
= EXPRESSION
;
(6)
var VARIABLE_NAME
; stderr EXPRESSION
;
For deterministic simulations, the shocks block specifies temporary changes in the value of an exogenous variables. For permanent shocks, use an endval block.
When specifying shocks on several periods, the values EXPRESSION
must return either a scalar value common to all periods with a shock or a column vector with as many elements as there are periods in the periods statement just before it.