perfect foresight 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.

perfect foresight model

Postby jameszhow » Tue Apr 19, 2016 6:23 am

Dear professor Pfeifer

I construct a deterministic model to study the impact of financial tightness on current account balance. suppose y_ss is a parameter denoting steady state value of variable y, but variable y is related to financial tightness which is a exogenous variable, so I cannot calculate y_ss in the initval and entval block. How can I solve this problem? Looking forward to receive your reply. Have a nice day.

James
jameszhow
 
Posts: 4
Joined: Mon Dec 23, 2013 8:24 am

Re: perfect foresight model

Postby jpfeifer » Tue Apr 19, 2016 7:07 pm

What do you mean? The steady state is always conditional on the exogenous variables, in your case conditional on the initial and terminal value for tightness.
------------
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: perfect foresight model

Postby jameszhow » Wed Apr 20, 2016 1:30 am

I need to determine the value of parameter y_ss which equals to the steady state value of variable y, but parameter y_ss cannot be put in the initval block as it's not a endogenous or exogenous variable. So how can I fix this problem?
jameszhow
 
Posts: 4
Joined: Mon Dec 23, 2013 8:24 am

Re: perfect foresight model

Postby jpfeifer » Thu Apr 21, 2016 9:13 am

I still don't understand. You want to determine the parameter y_ss as the steady state of y conditional on the initial of the exogenous variable for use in the mod-file, which implies that the steady state itself is going to depend on y_ss? And the problem is how to deal with this fixed point problem?
------------
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: perfect foresight model

Postby jameszhow » Mon Apr 25, 2016 2:33 am

jpfeifer wrote:I still don't understand. You want to determine the parameter y_ss as the steady state of y conditional on the initial of the exogenous variable for use in the mod-file, which implies that the steady state itself is going to depend on y_ss? And the problem is how to deal with this fixed point problem?



I am sorry I reply so late. I can calculate the steady state of variable y conditional on the initial value of exogenous variable, as I set a simple intertest rate rule which responds

to output y and inflation rate pi, so I want to determine the value of parameter y_ss. As y_ss is a parameter, so it cannot be put in the initval block.

In order to solve this problem, I set y_ss as an exogenous variable, so I can determine its value as y_ss=y in the initval or endval block, is this treatment appropriate?

I upload my mod-file in the attachment.
Attachments
financial_friction.mod
(5.38 KiB) Downloaded 92 times
jameszhow
 
Posts: 4
Joined: Mon Dec 23, 2013 8:24 am

Re: perfect foresight model

Postby jpfeifer » Sun May 01, 2016 3:44 pm

No, this treatment is not appropriate, because you will not be correctly setting y_ss. For cases like the one you describe where you need to determine a parameter value you will have to compute it analytically (or numerically using an auxiliary function) before starting perfect foresight simulations.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 15 guests