NK estimation

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
dib.mod (3.21 KB)
data.xls (29.5 KB)

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

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! :smiley:

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