different results using higer order approximation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

different results using higer order approximation

Postby zhanghuifd » Tue May 09, 2017 4:13 am

Dear friends,

I have encountered a weird problem that the IRFs under first-order is different from those under third-order approximation.

The response variables and exogenous shocks used are the same.
i.e. employment responses to first moment technology shock. The IRF behaves even in the opposite direction. By the way, I also use pruning at third-order.

Would any friend like to help me with this problem?
Thanks in advance!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: different results using higer order approximation

Postby jpfeifer » Tue May 09, 2017 6:51 pm

Have you tried what happens if you decrease the shock variances? In that case, the IRFs should be close to first order case.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: different results using higer order approximation

Postby zhanghuifd » Wed May 10, 2017 8:23 am

Hi, professor Pfeifer, thanks for your reply.
Yes, I have tried it but still failed.
May be there is some thing wrong with my model.
Thanks!!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: different results using higer order approximation

Postby jpfeifer » Wed May 10, 2017 1:24 pm

Did
Code: Select all
model_diagnostics
return anything?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: different results using higer order approximation

Postby zhanghuifd » Fri May 12, 2017 6:28 am

Hi, professor Pfeifer!

Sorry, it returns nothing. I should think it over and check it again.

Thanks for your help and reply!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: different results using higer order approximation

Postby jpfeifer » Fri May 12, 2017 6:33 am

Please provide me with the file.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: different results using higer order approximation

Postby zhanghuifd » Sat May 13, 2017 12:11 am

Hi, professor!

Sorry! I was going to send you my file. But I may fix the problem after setting shook variances below 0.01. I was in a hurry and did not quitely understand your advice at first. Sorry for that! But I have seen others' code that set shook variances to 1 and it works normally.

Does it mean higher order approximation make IRFs more unstable than first-order approximation? Thanks a lot!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: different results using higer order approximation

Postby zhanghuifd » Sun May 14, 2017 3:19 am

Dear friends,

I have a problem about how to read or save the simulated moments when using third-order approximation?
Thanks a lot!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: different results using higer order approximation

Postby jpfeifer » Sun May 14, 2017 10:27 am

Regarding your first point, see
Remark 10 (Scaling With a Factor 100)

of Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf. When you use 1 in a nonlinear model for the shock variance, you are actually using 100%.
Regarding simulated data at higher order: they should be saved the same way as at order=1 if you specify the
Code: Select all
periods

option
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: different results using higer order approximation

Postby zhanghuifd » Sun May 14, 2017 11:33 am

Hi! Prof. Pfeifer, thanks for your help !!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests