How do I use variables in steady state in the model?

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 do I use variables in steady state in the model?

Postby cjcostaj » Tue Dec 10, 2013 3:58 pm

How do I use variables in steady state in the model?
we say that r at steady state is r = (1/beta)-(1-delta)
What better way to make this in the section model?
cjcostaj
 
Posts: 22
Joined: Sun Aug 26, 2012 6:26 pm

Re: How do I use variables in steady state in the model?

Postby anhn39 » Tue Dec 10, 2013 10:00 pm

If you know how to solve the steady state of all variables in the model analytically, you should use steady_state_model block , instead of initval, to present how you do that. You also put "r = (1/beta)-(1-delta)" there. See more in dynare manual
anhn39
 
Posts: 12
Joined: Sat Dec 07, 2013 12:22 am

Re: How do I use variables in steady state in the model?

Postby StephaneAdjemian » Wed Dec 11, 2013 9:21 am

Hi,

In the model block, if you need the steady state level of a variable x in an equation (for instance in a Taylor rule), you just need to write STEADY_STATE(x).

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: How do I use variables in steady state in the model?

Postby jpfeifer » Wed Dec 11, 2013 9:29 am

Alternatively, you can use expressions with the #-operator. See https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf?attredirects=0 for examples of both cases.
------------
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: How do I use variables in steady state in the model?

Postby cjcostaj » Wed Dec 11, 2013 11:01 am

Stéphane.

My question was really this.

But, I was doing the way that Johannes suggested. I will try to use the STEADY_STATE(x).

Thank you very much.
cjcostaj
 
Posts: 22
Joined: Sun Aug 26, 2012 6:26 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests