Shocks_file

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

Hi Mai,

here is an example

  • 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