How can I use previously estimated result directly in another mod to do simulation?

Dear all,
I have a question about how to reuse the estimation result in simulation. After I get the posterior, I want to use the parameter value in another .mod file to do simulation. What should I do?
Thanks in advance.

That depends very much on the structure and naming in the two files. Are the parameter names identical? Are there other parameters?

Thank you for your reply, Professor. These two files are exactly same model, but in different folders.

In that case, you can load M_.params from the _results-file and save it to M_.params before calling other commands.

1 Like

Thank you!