Calibration with pruning

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.

Calibration with pruning

Postby zhanghuifd » Sun Apr 23, 2017 1:11 pm

Dear friends,

Sorry to post a trivial question. I am not familiar with higer-order approximation with pruning.
When I set "optPruning.computeIRF = 1" using MAndreason et.al(2013)'s package, IRFs for all volatility shocks shown up together. Actually, I hope there will be only desired IRFs for particular endogenous variables and shocks. May be it needs coding.
BP(2014)'s code is clear. But I am still confused how to replicate it even in calibration.

Besides, I also encountered the same problem as some users before:
dynare:k_order_perturbation: Caught Kord exception: NaN or Inf asserted in first order derivatives in FirstOrder::solve
??? Error using ==> print_info at 68
k_order_pert was unable to compute the solution
Error in ==> stoch_simul at 98
print_info(info, options_.noprint, options_);

I have tried but failed. Any tips or advice would be deeply appreciated! Thanks in advance.
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: Calibration with pruning

Postby jpfeifer » Mon Apr 24, 2017 6:30 am

Sorry, but I do not understand the question. Are you working with Dynare? Or Andreasen's toolkit? And what exactly are the problems. Please state them systematically.
------------
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: Calibration with pruning

Postby zhanghuifd » Mon Apr 24, 2017 8:07 am

I finally realised that dynare itself has the power to do pruning.
I want to figure out whether there is a real difference between MAndreasen toolkit and dynare in pruning.
Thanks a lot!
zhanghuifd
 
Posts: 36
Joined: Tue Mar 21, 2017 8:14 am

Re: Calibration with pruning

Postby jpfeifer » Tue Apr 25, 2017 6:31 pm

Dynare implements Andreasen's pruning. There is no difference (I coded that part up). What is different is the way to compute IRFs. He uses analytical GIRFs, while Dynare's GIRFs are currently simulation based.
------------
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

Caught Kord exception

Postby zhanghuifd » Thu Apr 27, 2017 12:28 pm

Dear professor, 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: No registered users and 8 guests