I’m writing up an .m file to plot graphs (IRFs, histograms etc.) and I’m trying to compare a non-linear model solution to its linearised counterpart (i.e. 2nd vs 1st order approximation).
I was wondering if there is a way (similar to a pound operator for model local variables) to access the stoch_simul command to change the order of the approximation using set_param_value or something similar. The other option is to save two types of .mod files (one with 1st, the other one with 2nd order), but I was hoping there might be a more efficient and direct way?