can I specify stochastic shocks in forecast

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.

can I specify stochastic shocks in forecast

Postby anitazhang » Mon Oct 14, 2013 3:54 pm

Dear all,

I'd like to simulate a transition path with mixing deterministic and stochastic shocks. And according to the Userguide, I complete it using stoch_simul and forecast. Now I want to feed in the stochastic shocks and examine how different realizations of stochastic shocks can cause a different transition path.

How can I do with Dynare?

What I thought might be related is 1) the approach specified by adamshap - Aug 1, 2006, using simult_ function. but it is used for models with just stochastic shocks. is there any way to extend it to models with mixed shocks?

2) use the conditional_forecast command. specifically, I add a trick variable which is set to equal the stochastic policy shock and specify the path of this trick avriable under the conditional_forecast command. however, the problem is that the transition path produced by Dynare is as if there is no detereministic shock. specifically, when I set the trick variable to be zero for all periods, all endogenous variables become constant at the initial value, despite that I have specified variation in determined shocks in the "shocks" block.

I attached the codes. can any one please take a look and let me know if anything goes wrong. Or it there any other ideas?

Thank you for your time in advance.

Sincerely,
Anita
Attachments
ramst_specified_stoch.mod
(2.12 KiB) Downloaded 89 times
anitazhang
 
Posts: 35
Joined: Sat Oct 05, 2013 12:02 am

Re: can I specify stochastic shocks in forecast

Postby anitazhang » Mon Oct 21, 2013 3:03 am

any thoughts?
anitazhang
 
Posts: 35
Joined: Sat Oct 05, 2013 12:02 am

Re: can I specify stochastic shocks in forecast

Postby fp3690 » Sat Jun 06, 2015 2:02 pm

I am bumping this because it is an issue I am having (two years later) and I can't find any good resources other than this post by iacoviel, but as it is dated I am looking for an updated answer.

Thanks!


viewtopic.php?f=1&t=798&hilit=Contributions+of+shocks+to+endogenous+variables
fp3690
 
Posts: 15
Joined: Tue Apr 07, 2015 3:21 am

Re: can I specify stochastic shocks in forecast

Postby jpfeifer » Wed Jun 10, 2015 8:33 am

I don't understand the actual setup/question. What does a stochastic shock in a forecast mean? Do you want to simulate the uncertainty related to a forecast?

The forecast command allows for combinations of deterministic and stochastic shocks, but it does not allow to set a particular realization of a stochastic shock (which would rather make it deterministic).

If you are dealing with a first-order approximation, you can in principle achieve any combination of deterministic and stochastic shocks by defining the deterministic shocks as perfectly anticipated news shocks and the stochastic shocks as regular shocks and then using the simult_ function.
------------
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: No registered users and 8 guests