Simulated method of moments using dynare

The logdata option in the method_of_moments command is only relevant IF you use the loglinear option.

The loglinear option needs to be provided to the model block. Then dynare internally does a log transformation on ALL variables in the model, which is sometimes useful, but mostly doesn’t work as we often have variables where it is not a good idea to do a log transform. So in general, don’t use the loglinear option (unless you have a very specific usecase and model) and rather define auxiliary variables and equations for those variables for which you want to look at the log of.

So in my example: 1) no loglinear option was used in the model block and 2) no logdata option was used in the method_of_moments block. So dynare doesn’t do any transformation for you.

1 Like