Many thanks! Marco
This is great. Many thanks.
Michel
Sébastien Villemot wrote:
Hi everyone,
Michel Juillard michel.juillard@ens.fr a écrit :
we have started to work on producing the derivatives with respect to parameters. We are planing to create a new function, that will return a 3-dimensional array, by equation, variable and parameter. You could then select one parameter and squeeze the array in the parameter dimension to obtain a matrix of Jacobian derivatives with respect to a given parameter.
I have added the derivatives of the Jacobian w.r. to parameters. It is already available in the subversion, and will be in tomorrow's snapshot.
For the time being, you can activate the computation of those derivatives by adding a "identification;" line in your MOD file (we will later plug in identification routines behind this statement, when they are available).
This will create a new file called "basename_params_derivs.m" (assuming that your MOD file is "basename.mod").
This Matlab function takes the same arguments than "basename_dynamic.m"; it returns a 3D matrix, with the following conventions:
- first index is equation number
- second index is the column of the Jacobian which is derived
- third index is the parameter index (as in M_.params)
Best,
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev