jump variable and predetermined variable

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.

jump variable and predetermined variable

Postby najafi » Fri Mar 11, 2016 1:52 pm

i want to reproduce the result of below article (cox and harvie, 2010):
(Resource price turbulence and macroeconomic adjustment for a resource exporter:A conceptual framework for policy analysis)

i write the final equation (20 equation) in dynare and i want to do simulation analysis, but harvie said in his article that:

"In this case, there are eight differential variables in the model: kp, kg, m, b, w, f, q and e; twelve algebraic variables: r, Nod, Nos, T, wp, y, yp, R, one, c, l and B; and ten exogenous parameters that are used to derive a solution for the long run steady state: mbar, rstar, kgstar, oa, pres, op, Nosp, c̄g, pstar and ystar

he said: Of the eight differential variables, the first six are predetermined non-jump variables that adjust only gradually. The last two differential variables, q and e, are assumed to be non-predetermined or jump variables.
For dynamic stability, the system must generate six negative and two positive eigenvalues.

i guess it means that six variables(kp, kg, m, b, w, f) is predetermined an others(q, e) is jump variable.
my question is how can i tell Dynare which of my variables are predetermined (backward looking) and non predetermined (forward looking)?

i write predetermined variable in this format, for example:
kp(+1)-kp = eta*q;

an i write jump variable in this format, for example:
q-q(-1) = (1/delta3)*q +(delta2/delta3)*r -(delta1/delta3)*R -(delta2/delta3)*(m(+1)-m);

as you see in second equation we have one jump variable(q) and one predetermined variable(m)
my dynare is correct or not?

I’m looking for your kindly response.
najafi
 
Posts: 4
Joined: Thu Mar 03, 2016 8:34 pm

Re: jump variable and predetermined variable

Postby jpfeifer » Sun Mar 13, 2016 12:01 pm

I am not sure that you simply use Dynare for the equations in that paper. Dynare solves difference equations, while the paper is concerned with differential equations. That is why you need to discretize. Unfortunately, I don't have experience with this.

However,
Code: Select all
kp(+1)-kp = eta*q;

seems wrong to me. Predetermined variables have a timing kp(-1). But you could get around this by using the predetermined_variables command to specify the predetermined variables. That would probably be the easiest way.
------------
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: jump variable and predetermined variable

Postby zhangwp » Wed Apr 06, 2016 8:07 am

jpfeifer wrote:I am not sure that you simply use Dynare for the equations in that paper. Dynare solves difference equations, while the paper is concerned with differential equations. That is why you need to discretize. Unfortunately, I don't have experience with this.

However,
Code: Select all
kp(+1)-kp = eta*q;

seems wrong to me. Predetermined variables have a timing kp(-1). But you could get around this by using the predetermined_variables command to specify the predetermined variables. That would probably be the easiest way.

Dear jpfeifer,
can I say "Predetermined" is just a thing of "timing" in dynare?
That is all variables look like x(-1) are predetermined variables. If I have last period consumption c(-1) in some equations, can I say "c(-1)" is a predetermined variable?
zhangwp
 
Posts: 13
Joined: Mon Sep 01, 2008 6:22 am

Re: jump variable and predetermined variable

Postby jpfeifer » Fri Apr 08, 2016 7:55 am

Predeterminedness is a general concept referring to whether a variable can be changed at time t. c(-1) as decided yesterday and of course is predetermined. That is the reason why habits in consumption introduce a new state variable in models.
------------
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: jump variable and predetermined variable

Postby zhangwp » Fri Apr 08, 2016 11:22 am

Thank you!
zhangwp
 
Posts: 13
Joined: Mon Sep 01, 2008 6:22 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 14 guests