Problem in identification
Hi Marco, I am facing a problem with the attached mod-file. The problem is that after identification_analysis resets the number of autocorrelations, we have the line evalin('caller',['options_ident.ar=',int2str(nlags),';']); that is, only in the original caller, which is dynare_identification.m, is it reset. But there it is not global. When the mod-file now reaches simulated_moment_uncertainty.m the variable accessed is options and not options_ident where ar is still at the old value. I am not sure what is the best design choice to solve this issue. That is why I would leave it to you. Best, Johannes -- ------ Johannes Pfeifer Department of Economics University of Mannheim L7, 3-5, Room 242 68131 Mannheim Germany +49 (0)621 181-3430
Hi Johannes, thanks a lot for pointing this out. I'll have a look M -- Marco Ratto, Financial and Economic Analysis Joint Research Centre European Commission, TP 361, 21027 ISPRA(VA), ITALY Tel: +39 0332 78 3794 Fax: +39 0332 78 5752, marco.ratto@jrc.ec.europa.eu http://www.macfinrobods.eu/ On 11/17/2015 1:58 PM, Johannes Pfeifer wrote:
Hi Marco,
I am facing a problem with the attached mod-file. The problem is that after identification_analysis resets the number of autocorrelations, we have the line
evalin('caller',['options_ident.ar=',int2str(nlags),';']); that is, only in the original caller, which is dynare_identification.m, is it reset. But there it is not global. When the mod-file now reaches simulated_moment_uncertainty.m the variable accessed is options and not options_ident where ar is still at the old value.
I am not sure what is the best design choice to solve this issue. That is why I would leave it to you.
Best, Johannes
_______________________________________________ Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
participants (2)
-
Johannes Pfeifer -
Marco Ratto