Problem in a deterministic model with structure change

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.

Problem in a deterministic model with structure change

Postby kang » Thu Oct 21, 2010 2:45 pm

I build a small open economy model with two sectors. I plan to look at the dynamic path when one structure parameter changes. So the model has two steady states. However, the irf from the simulation show that most variables go far away from the new steady state during the path, only in the last period, it will just jump back the new steady state. It would be greatly appreciated if someone can help me out.

The code is attached.
Attachments
tamodel.mod
(2.49 KiB) Downloaded 133 times
kang
 
Posts: 6
Joined: Sat Aug 09, 2008 3:39 pm

Re: Problem in a deterministic model with structure change

Postby bigbenmike » Sun Oct 24, 2010 6:51 am

Hi, Kang:

Try to define the parameter as a variable and then look at the responses.
bigbenmike
 
Posts: 5
Joined: Tue Oct 12, 2010 11:57 am

Re: Problem in a deterministic model with structure change

Postby kang » Sun Oct 24, 2010 2:18 pm

Thanks, bigbenmike,

I thought the structure change as a permanent shock, so in my code, I define the parameter as exogenous shock. I give the two steady states in inival and endval blocks. is this the way to solve deterministic model with permanent shock?

best,

kang
kang
 
Posts: 6
Joined: Sat Aug 09, 2008 3:39 pm

Re: Problem in a deterministic model with structure change

Postby cel » Tue Oct 26, 2010 4:59 pm

Hi,
you should create a variable that is the shock (for instance eps that is var_exo) and in your model, you write (param+eps) everywhere your parameter (param that is defined as a param value) appears.
Hope it helps
Best
cel
 
Posts: 17
Joined: Tue Sep 15, 2009 9:25 am

Re: Problem in a deterministic model with structure change

Postby yangv007 » Tue Feb 28, 2012 8:37 am

i feel the same just like your, i also think the structure change as a permanent shock ,but the answer from bigbenmike still puzzle me , do you know what eactly his means? thanks very much...new learner.
kang wrote:Thanks, bigbenmike,

I thought the structure change as a permanent shock, so in my code, I define the parameter as exogenous shock. I give the two steady states in inival and endval blocks. is this the way to solve deterministic model with permanent shock?

best,

kang
yangv007
 
Posts: 6
Joined: Thu Oct 13, 2011 10:52 am

Re: Problem in a deterministic model with structure change

Postby yangv007 » Tue Feb 28, 2012 8:41 am

Hi, i am not quite sure about your explanation ,can you tell me whether the structure change is the same with permanent shock?
or how can i put a permanent shock in the model? thanks a lot...
cel wrote:Hi,
you should create a variable that is the shock (for instance eps that is var_exo) and in your model, you write (param+eps) everywhere your parameter (param that is defined as a param value) appears.
Hope it helps
Best
yangv007
 
Posts: 6
Joined: Thu Oct 13, 2011 10:52 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests