3rd order perturbation closing devices Uribe


#1

Hello Pfeifer ,

I am trying to do 3rd order perturbation on Schmitt-Grohe and Uribe (2003), closing devices by using your dynare codes. I have basic level of clarification.
on this link “Time varying volatility” you mentioned that “You need to enter a fully nonlinear model and in stoch_simul you must put order=3.” My question is, do I need to remove all exp() on the model before applying 3rd perturbation. What about steady state? do I need to remove log as well.

Thanks in Advance,

Shaf


#2

No, you can keep the exp(). The simply means you are approximating in percentages. Note that I tried the SGU 2003 model with third-order perturbation. It turns out that the approximation order hardly matters, because the original model is quite close to linear. Thus, you will get almost the same results as the original paper.


#3

Thank you so much Professor Johannes pfeifer for clarification. so we simply can add stoch_simul(order=3, periods, irf=0, pruning); to your codes. As you mentioned at another place that " Theoretical moments are currently only reported up to order=2. If we want moments at order > 2 you need to use simulated moments". What is exactly the numbers of periods that we will get same second moments as theoretical moments of SGU 2003. I need a little guidance to find out mean and variance using simulation for SGU using 3rd order.

Have you posted your codes for third-order perturbation for SUG 2003 anywhere.? I am trying to learn 3rd order using dynare.I am thankful to you for this lovely forum of learning.


#4

Thanks, Professor Johannes pfeifer I have been able to apply now 3rd order perturbation on SGU 2003, Yes, it gives the same second moments as 1st order as you have already mentioned in your note to me.


#5

Hello Professor Johannes,
You mentioned in the following note that SGU 2003 model with 3rd order perturbation produce second moments similar to 1st order perturbation. My Question is, if some one apply 3rd order perturbation to SGU 2003 using different set parameters and calibration as done by Seoane 2005 [https://econpapers.repec.org/article/eeedyncon/v_3a53_3ay_3a2015_3ai_3ac_3ap_3a37-46.htm]. Is moving from 3rd perturbation to 1st order perturbation shall also produce similar second moments? As we know from original version of SGU 2003 1st and 3rd order approximately produce same seconds?


#6

No, for those models it matters.


#7

Thanks, I want to confirm again if I understood it correctly. If SGU 2003 is calibrated to any emerging countries data. where Business cycle characteristics are different than the developed countries. So Do you mean to say that then 1st order perturbation and 3rd order shall not produce similar second moments using SGU 2003 models. Is it so?

Or it is only suitable to move from 1st order to 3 order perturbation. and vice versa is not possible i.e. from 3rd order to 1st order.


#8

I don’t get your point. All I am saying is: if your model is close to linear, then using a higher order approximation will not do anything. If your model is nonlinear, then the higher order approximation will matter. In the original SGU version, we are in a case where the model is close to linear.


#9

Yes, Seoane applied 3rd on the original SGU version (which is close to linear). I mean he did not change anything in the model only value of parameters and calibration for emerging countries. So it means that (keeping in mind that original model is close to linear). Now, if we move or we change the 3rd order to 1st order perturbation that both should produce same second moments.

But It is not the in the case Seoane(2015).When I apply 1st order using exactly his parameters I get the very different moments than his 3rd order.
While, When apply 3rd order on SGU 2003 using his parameters exactly the same, we get the same moments for 1st and 3rd order.

Why we get different moments in the case of Seoane.? if we switch from 3rd to 1st order. That, s why I asked that Or it is only suitable to move from 1st order to 3 order perturbation. and vice versa is not possible i.e. from 3rd order to 1st order.