And a further question: Let’s say I want to find the coefficients of an optimal simple rule by looping over a range of parameter values. Since this takes very long I want to use a parfor loop. So I tried to embed your codes for the calculation of the consumption equivalent into a parfor loop, in particular, into the files which were uploaded here: Parfor sucessfully implemented in Dynare
I changed the mod file considering a “benchmark regime” in which there is no interest rate smoothing and now I want to know, when the CB switches to IR smoothing, which strength is the best (maybe a bit hypothetical, but so I could just reuse the code).
However, I get the error message: Dot indexing is not supported for variables of this type.
I attach the files.
Loop_parfor_consequiv.zip (144.6 KB)
Any help is very much appreciated!