Page 1 of 1

shocks_file

PostPosted: Mon Mar 06, 2006 11:12 am
by maile
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

PostPosted: Mon Mar 06, 2006 2:37 pm
by MichelJuillard
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