Dear all,

I am using SMM to calibrate some parameters of a macro model, using moments from Dynare. The moments I am using are the 2nd order theoretical moments from Dynare.

I have recently noticed that running the exact SMM estimation code twice gives me *slightly* different results. The reason, I believe, is that Dynare produces slightly different 2nd order theoretical moments each time a Mod file is run. For example, when I run a mod file twice in a row:

dynare test

dynare test

It produces two slightly different 2nd order theoretical moments for output – 0.341028224054378 the first time, 0.341028224054382 the second time.

These slight differences, combined with the flatness of my SMM objective function, means that I get *slightly* different estimation results each time the SMM is run.

My question is thus, is there any way for Dynare to produce the exact same 2nd order theoretical moments each time it is run? I have tried setting the dynare and Matlab seed, but this does not seem to do the trick.

Many thanks,

Jake