MIT shocks in deterministic environment

Thank you very much Johannes. For the MIT shock in the deterministic environment, I wrote the following code that writes a mod file for every period. It seems to work fine. The baseline model is example1.mod. I want to use it in my class, and I uploaded it here in case others were interested. I appreciate it if you could take a look and let me know if you agree with everything, and if there are obvious ways to improve it.
irf_mit.m (1.7 KB)
write_rbc_dtr_MIT_modFile.m (2.5 KB)

Thank you,
Soroush

1 Like