Page 1 of 1

Error message

PostPosted: Thu Jan 12, 2012 3:43 pm
by kyri82
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

Re: Error message

PostPosted: Sat Jan 14, 2012 5:20 pm
by jpfeifer
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.

Re: Error message

PostPosted: Sat Jan 14, 2012 5:34 pm
by kyri82
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!