exogenous variable sequence

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

exogenous variable sequence

Postby mrl793 » Mon Feb 02, 2009 5:08 pm

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
mrl793
 
Posts: 1
Joined: Mon Feb 02, 2009 5:03 pm

Re: exogenous variable sequence

Postby SébastienVillemot » Tue Feb 17, 2009 9:41 am

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
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests