conditional values for parameters

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.

conditional values for parameters

Postby David » Tue Jan 29, 2013 2:49 am

Hi, I wonder whether it is possible to specify a conditional law of motion in the model session in Dynare. For example, I would like to the law of motion for housing capital as
Code: Select all
H_t+1=(1-delta_h)*H_t+alpha*(Rh_t-Rh_bar)

where alpha>0 if (Rh_t-Rh_bar)>0 and alpha=0 if (Rh_t-Rh_bar)<=0. The idea is that there is not new housing supply if the housing rent Rh is less than its steady state value Rh_bar.

Is it feasible to implement such an idea in Dynare?
Thank you.
David
 
Posts: 24
Joined: Fri Sep 28, 2012 3:46 pm

Re: conditional values for parameters

Postby David » Wed Feb 06, 2013 2:53 am

Basically, I think this is kind of non-smooth motion of state variable. Anybody have encounter similar problem?
David
 
Posts: 24
Joined: Fri Sep 28, 2012 3:46 pm

Re: conditional values for parameters

Postby jpfeifer » Wed Feb 06, 2013 12:41 pm

For deterministic simulations using simul, you could rewrite the problem as

Code: Select all
H_t+1=(1-delta_h)*H_t+alpha*max(Rh_t-Rh_bar,0)

which should be equivalent to what you want.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

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