by amg » Tue Nov 08, 2011 11:15 am
Hi,
E.g., to estimate time-varying risk premia, I'd need a third-order approximation.
I can provide Dynare with a suitable replacement for the linear estimation routines, but would hate to have to redo everything (i.e., if Dynare provides me with the third-order derivaitves within the estimation command that it is of course capable of producing, I can take care of everything else I need: I can retool DSGELikelihood.m etc. to my needs, but dynare_m.exe would be a little more involved). Starting with stoch_simul would require me to reprogram the entire estimation routines of Dynare as well as forcing--I believe--the rederivation of derivatives (i.e., _dynamic.m) at every parameter value iteration. Anyway, if you set order=2 in the estimation command, Dynare will provide the second order derivatives, setting order=3 still leaves you with only the second derivaitves of the policy function.