Page 1 of 1

jump variable and predetermined variable

PostPosted: Fri Mar 11, 2016 1:52 pm
by najafi
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.

Re: jump variable and predetermined variable

PostPosted: Sun Mar 13, 2016 12:01 pm
by jpfeifer
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.

Re: jump variable and predetermined variable

PostPosted: Wed Apr 06, 2016 8:07 am
by zhangwp
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?

Re: jump variable and predetermined variable

PostPosted: Fri Apr 08, 2016 7:55 am
by jpfeifer
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.

Re: jump variable and predetermined variable

PostPosted: Fri Apr 08, 2016 11:22 am
by zhangwp
Thank you!