NEWS shocks in a deterministic model

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.

NEWS shocks in a deterministic model

Postby haidx2112 » Tue Mar 01, 2016 4:26 pm

Hi,
I am coding dynare code for my model. In my model there is a financial constraint debt<=theta*income.
1. I wrote a dynare code and it works well with the case that at period 0, there is a news about change in theta in the future (anticipated shock). For example, at the period 0 we know that theta will remain at 60% for 15 periods then from period 16 it will jump to 70% and stay there forever

code: theta=0.6 + e;

initval
e=0;
end;
endval
e=0.1;
end;

var e;
periods 1:15
values 0;
end;

2. Now, I want to introduce 2 news shocks into my model. For example, at period 0 we know that after 15 periods, theta will jump to 70% and stay there forever. However, at a period t i.e 5 6 or 16, 18, we may know another news that theta will be 65% from period 19 or 20 instead of 70% as we know before. Is it possible to code this in dynare?

Thank you for your helps.
haidx2112
 
Posts: 6
Joined: Sun Mar 08, 2015 8:19 pm

Re: NEWS shocks in a deterministic model

Postby haidx2112 » Wed Mar 02, 2016 10:29 am

Hello, anybody help me, please.
haidx2112
 
Posts: 6
Joined: Sun Mar 08, 2015 8:19 pm

Re: NEWS shocks in a deterministic model

Postby jpfeifer » Wed Mar 02, 2016 11:08 am

Unfortunately, this is not easily possible, because the perfect foresight setup models all shocks as already known of today. You may have to build the response by concatenating responses from two experiments, i.e. the response for the first part up to the point where the second shock realizes and then a separate simulation with both shocks starting with the states from the first simulation.
------------
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

Re: NEWS shocks in a deterministic model

Postby haidx2112 » Fri Mar 04, 2016 2:21 pm

Thank you for your help. I will follow your guide
haidx2112
 
Posts: 6
Joined: Sun Mar 08, 2015 8:19 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 16 guests