Add parameters

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.

Add parameters

Postby Vorada Limjaroenrat » Tue Oct 02, 2012 7:52 pm

Dear Dynare people,
i am having a problem of adding a parameter to the existing model. Do I only need to state the new parameter in "parameter" and in the model part in the .mod file?? Do I need to adjust the .m in the matlab file? I follow the guidebook and adjust only in the mod file, but matlab show
"Error using dynare (line 114)
DYNARE: preprocessing failed"
So i wondering whether i did it correct.
thankq very much ,
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Add parameters

Postby Vorada Limjaroenrat » Wed Oct 03, 2012 1:58 pm

To all dynare people,

sorry if i didn't provide enough info. please let me know if you need further information. i am very new to dynare and really need help with this...
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Add parameters

Postby kyri82 » Wed Oct 03, 2012 2:45 pm

you need to add it in the relevant part of the dynare .mod file, where you declare all the parameters and where you set their values. You need not touch the generated .mat files. You can post the .mod file if you wish.
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: Add parameters

Postby Vorada Limjaroenrat » Wed Oct 03, 2012 3:43 pm

kyri82,
thankyou very much for you help. i have already figure out i forget the semicolon after the parameter.
Again, thankyou very much for your generosity :)
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests