Page 1 of 1

Iacoviello 2013 model error

PostPosted: Wed Sep 11, 2013 7:46 pm
by Aleuha
Hi,
I am a new user of the Dynare, doing my dissertation using Financial Business Cycles (2013) by Iacoviello, I kinda tied to replicate it, but face the problem of unknown variable, but I have that variable in my equations and its consumption for entrepreneurs. Can anybody help, cos I really dont know whats wrong, maybe whole my model.

Kind regards

Re: Iacoviello 2013 model error

PostPosted: Thu Sep 12, 2013 8:03 am
by jpfeifer
Dynare's syntax only has a semicolon after the end of the var and parameter statements, not after each single declaration.

Re: Iacoviello 2013 model error

PostPosted: Thu Sep 12, 2013 11:56 am
by Aleuha
jpfeifer I already corrected all that kind of mistakes. but still it doesnt work, now it shows my another variable is unknown. :'(

Re: Iacoviello 2013 model error

PostPosted: Fri Sep 13, 2013 4:08 am
by jpfeifer
Then please post the updated file.

Re: Iacoviello 2013 model error

PostPosted: Fri Sep 13, 2013 11:39 am
by Aleuha
I changed my model completely, and i thought this time it will work, but i got this error now
Error using beta (line 21)
Not enough input arguments.

Error in new (line 296)
M_.params( 22 ) = 1/beta;

Error in dynare (line 120)
evalin('base',fname) ;

I have no idea what this

Re: Iacoviello 2013 model error

PostPosted: Fri Sep 13, 2013 11:40 am
by Aleuha
please pleasae im begging you help me, its my dissertation research, which i need to submit coming monday.

Re: Iacoviello 2013 model error

PostPosted: Sat Sep 14, 2013 8:00 am
by jpfeifer
You use beta, but did not define such a parameter. Thus, you are effectively calling the matlab beta-distribution function, which needs two input arguments.

Re: Iacoviello 2013 model error

PostPosted: Sun Sep 15, 2013 9:24 pm
by Aleuha
Dear jpfeifer,
I got my model, now it is better still i have problem with steady state like this, Error using print_info (line 57)
Impossible to find the steady state. Either the model doesn't have a steady state, there are an infinity of steady
states, or the guess values are too far from the solution.

I am really appreciate your help. Thank you so much

Re: Iacoviello 2013 model error

PostPosted: Sun Sep 15, 2013 9:32 pm
by Aleuha
and i wanted to ask as i know in other packages we cant run the model without data, is it the same case for dynare, or we can?

Re: Iacoviello 2013 model error

PostPosted: Mon Sep 16, 2013 12:38 pm
by jpfeifer
The first problem is self-explanatory. Provide initial values for steady state search using the initval-block.

What do you mean with "run the model without data"? When the model is calibrated, you can simulate it without needing data to estimate it.

Re: Iacoviello 2013 model error

PostPosted: Mon Sep 16, 2013 1:18 pm
by Aleuha
Thank you, I'll try again.