shocks_file

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.

shocks_file

Postby maile » Mon Mar 06, 2006 11:12 am

I tried using the shocks_file option but it didn't work, has anyone used this and got it to work? If so, can you help please?

Thanks
Mai
maile
 
Posts: 4
Joined: Mon Apr 18, 2005 12:25 pm

Postby MichelJuillard » Mon Mar 06, 2006 2:37 pm

Hi Mai,

here is an example
shocks(shocks_file=shocks1);
var eps;
periods 1;
value 0;
end;

- The specification of the shock in period 1 shouldn't be necessary, but there is a bug in the parser that forces you to put it there
- The file is shocks1.mat and should containt shocks for ALL exogenous variables
- There was a bug in shocks_file.m and I attach the corrected version.

Thanks for reporting the problem

Michel
Attachments
shocks_file.m
(922 Bytes) Downloaded 213 times
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests