NK estimation

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.

NK estimation

Postby arakshit » Wed Oct 14, 2009 9:25 pm

Hi,
I am trying to replicate a NK model with financial accelerator along the line of Christensen and Dib ,2007. I tried simulating the model with parameter values that the authors generated, and got almost similar irf except for the magnitudes of some of the variables. Now I am trying to run estimation using both Bayesian and MLE, using HP filtered data, and having problems! Matlab is giving the following error message when I am trying to estimate the parameters of the monetary policy rule:

??? Error using ==> print_info
MJDGGES returns the following error code13

Error in ==> check at 53
print_info(info);

Error in ==> dib at 224
check;

Error in ==> dynare at 102
evalin('base',fname) ;

and when I am trying to estimate some other parameters, it is not giving me any error but Matlab continues to run without stopping...(i guess it gets into some sort of loop?)...

I would really appreciate help on this....it could be some trivial error in my code or data or something fundamentally wrong ...i tried a lot to figure this out but without success. I am attaching the mod file and data set.

Thanks

Atanu
Virginia Tech
Attachments
dib.mod
the model file
(3.21 KiB) Downloaded 335 times
data.xls
quarterly data on output,real balances,interest-rates,investment
(29.5 KiB) Downloaded 223 times
arakshit
 
Posts: 2
Joined: Sat Aug 29, 2009 7:15 pm

Re: NK estimation

Postby arakshit » Wed Oct 21, 2009 8:05 pm

Hi all,
I fixed my data set and the code is running now. I needed to fix the measure of interest rates. I am getting approximately similar results and trying to get a more exact replica.

thanks

Atanu
arakshit
 
Posts: 2
Joined: Sat Aug 29, 2009 7:15 pm

Re: NK estimation

Postby mahone21 » Sun Jul 24, 2011 2:29 am

hi:
can you post your exact code ,i am now is studying dynare too.
i have the same problem you run in, so i need you help!
THANKS! :D
mahone21
 
Posts: 5
Joined: Mon Jun 27, 2011 8:27 am

Re: NK estimation

Postby zhoufang350521 » Wed Jan 28, 2015 11:46 am

hello:
i am styding the NK-model,and i got the same problem with you, could you mail the to me ,thank you! zhoufang19851106@yahoo.com
zhoufang350521
 
Posts: 1
Joined: Mon Jan 26, 2015 2:41 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests