I have just done it
Best
Michel
G. Perendia wrote:
Thanks Michel
Can param_names then be removed from the estim_params_ structure in Dynare (pre-processor) too (or renamed to a unique name) to avoid possible confusion?
Best regards George ----- Original Message ----- From: "Michel Juillard" michel.juillard@ens.fr To: "List for Dynare developers" dev@dynare.org Sent: Wednesday, November 04, 2009 6:34 PM Subject: Re: [DynareDev] C++ DsgeLikelihood and Dynare Parameters
You are right. As far as I can see estim_params_.param_names and estim_params_.user_param_names are initialized as empty matrix by the preprocessor but not used anywhere. You can safely ignore them
Best
Michel
G. Perendia wrote:
See my comments below Best regards George
----- Original Message ----- From: "Michel Juillard" michel.juillard@ens.fr
Ho George Why don't you keep estim_params_ as an intermediary structure that you add to your main structrure ?
I do not quite understand the notion of "intermediary structure that you add to your main structrure" and, so far, I am afraid that could
complicate
the issue greatly since estim_params is a stand-alone (i.e. not part of another structure such as dr1 is part of oo_).
If I create separate structure for estim_params we are going back to
many
structures situation.
E.g. dr1 is special case, handled as a separate "sub-structure" variable extracted from the main structure as its single field, (initially taken
form
oo_).
In general, I think that it is not good to start making exceptions to
policy
agreed after long discussion aimed to achieve the single params
structure
and here have one single parameter field which is causing problem which
also
appear unused - it is left empty and there appear to be no references to
the
estim_params_.param_names in Dynare matlab code!
Best
Michel Juillard
On Nov 4, 2009, at 17:02, "G. Perendia"
<george@perendia.orangehome.co.uk
wrote:
Hi
I am having problem creating single parameters structure for DsgeLikelihood as some names are not unique.
I. e. I only encountered a problem with "param_names" field which exists in both, M_ and estim_params_ though it does not seem to be populated and used in the latter - can it be ignored (i.e. unused?), removed from estim_params_ or renamed to enforce name uniqueness?
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
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
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev