Dear Professor Pfeifer,

I am studying your lecture notes on the basic RBC model. You provide two codes, one for Matlab and one for Dynare. I noticed that the IRFs produced from the two codes are slightly different. I would like to ask why this happens. I am sorry if this is a trivial question, but I am new to DSGE modeling.

I would also like to ask if, in stoch_simul, it is assumed that before the shock occurs the economy is in the non-stochastic steady-state.

Thank you very much in advance! Also, thank you very much for sharing your lecture notes and codes. They have been extremely helpful!

Francesco