Page 1 of 1

exogenous variable sequence

PostPosted: Mon Feb 02, 2009 5:08 pm
by mrl793
Hi,

I have a deterministic model. Is there an easy was to feed dynare a sequence of values for an exogenous variable? I'm looking to have the exo tax rate increase slowly over a set time-frame. I've programmed it using multiple shocks but I was wondering if there is an easier way?

Thanks in advance,
Mark

Re: exogenous variable sequence

PostPosted: Tue Feb 17, 2009 9:41 am
by SébastienVillemot
Hi,

In a deterministic setup, you can construct by hand the variable "oo_.exo_simul", which stores the path of exogenous variables.
The "shocks" block is basically a user-friendly way of filling that structure. The number of periods stored in oo_.exo_simul is the maximum of lag + maximum of leads + number of simulation periods. See the source of "make_ex_.m" and "set_shocks.m" for some manipulation examples.

Sébastien