Error message

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.

Error message

Postby kyri82 » Thu Jan 12, 2012 3:43 pm

Hello all,

does anyone understand the following error message?

"ERROR: filename.mod:346.10-14: Variable 'name' not allowed inside model declaration. Its scope is only outside model."

I am putting the model log-linearised directly in dynare, the variable that is not allowed is some ratio at the steady-state. Thanks in advance!

Kyriacos
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: Error message

Postby jpfeifer » Sat Jan 14, 2012 5:20 pm

Have you defined this ratio as a parameter? If not, do so. If it is a ratio at the steady state, it is constant and thus a parameter.
------------
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: Error message

Postby kyri82 » Sat Jan 14, 2012 5:34 pm

Thanks! Indeed that was the mistake, I discovered it myself. Can you help me with my most recent question? The one on "MJDGGES returns the following error code"
Thanks again!
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests