In the model block of the mod file, I can use macro processor to create the list of equations as follows:
@#for i in 1:j
But, I also have to write these 100 variables in the list of ‘var’ and I want to create the IRFS of these, so I need to write them in the stoch_simul command as well along with the other variables.
If I do this manually, I will write as:
var i_d1, i_d2,…,i_d100;
stoch_simul(order=1,irf=20) i_d1, i_d2,…,i_d100;
I am wondering if I can use the macro processor for these as well. Any help would save a lot of my time.