Iacoviello 2013 model error

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.

Iacoviello 2013 model error

Postby Aleuha » Wed Sep 11, 2013 7:46 pm

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
Attachments
test.mod
Iacoviello 2013
(4.15 KiB) Downloaded 100 times
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby jpfeifer » Thu Sep 12, 2013 8:03 am

Dynare's syntax only has a semicolon after the end of the var and parameter statements, not after each single declaration.
------------
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: Iacoviello 2013 model error

Postby Aleuha » Thu Sep 12, 2013 11:56 am

jpfeifer I already corrected all that kind of mistakes. but still it doesnt work, now it shows my another variable is unknown. :'(
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby jpfeifer » Fri Sep 13, 2013 4:08 am

Then please post the updated 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: Iacoviello 2013 model error

Postby Aleuha » Fri Sep 13, 2013 11:39 am

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
Attachments
new.mod
Iacoviello 2013
(3 KiB) Downloaded 82 times
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby Aleuha » Fri Sep 13, 2013 11:40 am

please pleasae im begging you help me, its my dissertation research, which i need to submit coming monday.
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby jpfeifer » Sat Sep 14, 2013 8:00 am

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.
------------
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: Iacoviello 2013 model error

Postby Aleuha » Sun Sep 15, 2013 9:24 pm

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
Attachments
new.mod
(2.97 KiB) Downloaded 98 times
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby Aleuha » Sun Sep 15, 2013 9:32 pm

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?
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm

Re: Iacoviello 2013 model error

Postby jpfeifer » Mon Sep 16, 2013 12:38 pm

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.
------------
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: Iacoviello 2013 model error

Postby Aleuha » Mon Sep 16, 2013 1:18 pm

Thank you, I'll try again.
Aleuha
 
Posts: 7
Joined: Wed Sep 11, 2013 7:39 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests