Page 1 of 1

How to write _steadystate file

PostPosted: Sat Jan 30, 2010 3:18 pm
by xujh03
Hi, I would like to ask one more question. I still do not understand how to write a _steadystate.m file.
I write a standard rbc model. But when I check by hand, the result obtained from _steadystate file is right. But when I put it into dynare, it always told me that some equations do not equal to 0 and the steady states are wrong.
Could anyone help me on this?
Thank you sooooo much!
Best
Jianhuan

Re: How to write _steadystate file

PostPosted: Mon Feb 01, 2010 7:42 am
by AssiaEzzeroug
Hi,

could you post the mod-file associated plz?

Best

Re: How to write _steadystate file

PostPosted: Mon Feb 01, 2010 10:32 pm
by xujh03
ok
thanks

Re: How to write _steadystate file

PostPosted: Wed Feb 03, 2010 8:46 am
by AssiaEzzeroug
Hi,

there are 2 ways to declare your steady-state calculations you obtained by hand, either directly in the block initval (see the corrected mod-file 'RBC0' I'm attaching ) or in a steady-steate mfile (see the attached files 'RBC02' and 'RBCO2_steadystate'). Precisely in that last case, you don't have to use the initval block, dynare will go directly in ur ss mfile to find the guess values..

Best

Re: How to write _steadystate file

PostPosted: Wed Feb 03, 2010 1:12 pm
by xujh03
thank you sooo much
I have figured it out.