I have copied the log-linear correction from dr1 to k_ord_pert.m as a quick fix and can upload that once I test it if that is ok.
Best regards
George ----- Original Message ----- From: "Michel Juillard" michel.juillard@ens.fr To: "List for Dynare developers" dev@dynare.org Sent: Wednesday, December 02, 2009 8:02 PM Subject: Re: [DynareDev] k_order_perturbation DLL DR1and log-linear models
Hi George,
you are right. Thanks for pointing it out.
Best
Michel
G. Perendia wrote:
Hi Sebastien
There appears to be a slight problem with the current implementation of k_order_pert.m.
It is called from the top of dr1.m and dr1.m then returns after running
it
but it then does not appear to provide for the log-linear adjustment of
ghx
and ghu usually performed further down the line in dr1.m when if the
model
is log-linear - though I may be missing something.
There is also a C++ log-linear adjustment built in the C++ version of
the
dr1 for C++ DsgeLikelihood and that code may be integrated into k_order_perturbation.cpp too to run adjustment within C++ when if
needed.
Best regards
George
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev