How to write _steadystate file

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.

How to write _steadystate file

Postby xujh03 » Sat Jan 30, 2010 3:18 pm

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
Attachments
RBC0_steadystate.m
(1.71 KiB) Downloaded 79 times
xujh03
 
Posts: 9
Joined: Sat Jan 30, 2010 2:39 pm

Re: How to write _steadystate file

Postby AssiaEzzeroug » Mon Feb 01, 2010 7:42 am

Hi,

could you post the mod-file associated plz?

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: How to write _steadystate file

Postby xujh03 » Mon Feb 01, 2010 10:32 pm

ok
thanks
Attachments
RBC0.mod
(501 Bytes) Downloaded 74 times
xujh03
 
Posts: 9
Joined: Sat Jan 30, 2010 2:39 pm

Re: How to write _steadystate file

Postby AssiaEzzeroug » Wed Feb 03, 2010 8:46 am

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
Attachments
RBC02_steadystate.m
(1.71 KiB) Downloaded 99 times
RBC02.mod
(471 Bytes) Downloaded 79 times
RBC0.mod
(710 Bytes) Downloaded 91 times
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: How to write _steadystate file

Postby xujh03 » Wed Feb 03, 2010 1:12 pm

thank you sooo much
I have figured it out.
xujh03
 
Posts: 9
Joined: Sat Jan 30, 2010 2:39 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests