Max likelihood and mode_file

Dear All,

Is there a way to use the mode_file option within a maximum likelihood estimation?

When I try to include it, I get the error message saying that in a maximum likelihood estimation exercise I always need to initialize the parameters i.e. estimated_params_init(use_calibration); end;
However, this option is not compatible with the mode_file one and, thus, I get an error message.

Many thanks in advance!

If you are using the most recent version of Dynare, please provide the files.

Dear Professor Pfeifer,

Thanks a lot for your reply.

I have managed solving this issue by initializing single parameters directly within the estimated_param block and commenting out the “estimated_params_init(use_calibration); end;” command.

Thanks again for your availability.

Perhaps the code in the following post would help you copy the contents of the mode file into the estimated_params_init section.