Recovering oo_.dr.ghx in third-order approximation
Posted: Fri Oct 28, 2011 8:33 am
Dear all,
In a third order approximation, the first-order terms of the decision rule are corrected for uncertainty. I.e., oo_.dr.g_1=[oo_.dr.ghx, oo_.dr.ghu]+1/2[oo_.dr.ghs2x,oo_.dr.ghs2u]. Yet Dynare sets (see line 54 and 55 of k_order_pert.m) [oo_.dr.ghx, oo_.dr.ghu]=oo_.dr.g_1, meaning I can't recover the uncertainty corrections oo_.dr.ghs2x and oo_.dr.ghs2u individually. Is there anyway to do this? E.g., is it possible to recover the original, certainty equivalent (i.e. as would result from setting order=1) first-order terms when running a third-order approximation?
Thanks in advance!
P.S. Obviously, I could run Dynare twice, setting order=1 and then order=3, but this is prohibitive with anything iterative and, anyway, shouldn't be necessary as the certainty equivalent QZ decomposition must be calculated in a higher-order perturbation, too...
In a third order approximation, the first-order terms of the decision rule are corrected for uncertainty. I.e., oo_.dr.g_1=[oo_.dr.ghx, oo_.dr.ghu]+1/2[oo_.dr.ghs2x,oo_.dr.ghs2u]. Yet Dynare sets (see line 54 and 55 of k_order_pert.m) [oo_.dr.ghx, oo_.dr.ghu]=oo_.dr.g_1, meaning I can't recover the uncertainty corrections oo_.dr.ghs2x and oo_.dr.ghs2u individually. Is there anyway to do this? E.g., is it possible to recover the original, certainty equivalent (i.e. as would result from setting order=1) first-order terms when running a third-order approximation?
Thanks in advance!
P.S. Obviously, I could run Dynare twice, setting order=1 and then order=3, but this is prohibitive with anything iterative and, anyway, shouldn't be necessary as the certainty equivalent QZ decomposition must be calculated in a higher-order perturbation, too...