Solving for the addin factors for a group of trajectories
Posted: Tue May 26, 2009 7:46 am
Hi, I have a question regarding add-in factors.
Using the Macromod workfile in our Eviews manual as an example. Suppose I give the model (with three equations for CN, R, I and one identity) a name "lalatest", and in baseline scenario, I solved for the static solution
lalatest.scenario "baseline"
smpl 1960q1 1999q4
lalatest.solve(d=s, o=g)
And then I created a comparison scenario with a dynamic solution
lalatest.scenario(n) "comparison1"
lalatest.solve(d=d,o=g)
Obviously, the dynamic and static solutions are different, and I want to use the addin factors to make the "comparison 1" scenario dynamic solution the same as the baseline. Here is what I did:
lalatest.addassign(v) @all 'create addin factors
lalatest.control cn_a cn cn_0 'Solve for the addin factor for CN
lalatest.control i_a i i_0 'Solve for the addin factor of I
lalatest.control r_a r r_0 'Solve for the add in factor for r
lalatest.control y_a y y_0 'Solve for the add in factor for y
lalatest.solve(d=d,o=g)
Unfortunately, it does not work. How can I make the solution of a model, with interactive equations in the model, equal to a set of trajectories? Thank you for your help!
Using the Macromod workfile in our Eviews manual as an example. Suppose I give the model (with three equations for CN, R, I and one identity) a name "lalatest", and in baseline scenario, I solved for the static solution
lalatest.scenario "baseline"
smpl 1960q1 1999q4
lalatest.solve(d=s, o=g)
And then I created a comparison scenario with a dynamic solution
lalatest.scenario(n) "comparison1"
lalatest.solve(d=d,o=g)
Obviously, the dynamic and static solutions are different, and I want to use the addin factors to make the "comparison 1" scenario dynamic solution the same as the baseline. Here is what I did:
lalatest.addassign(v) @all 'create addin factors
lalatest.control cn_a cn cn_0 'Solve for the addin factor for CN
lalatest.control i_a i i_0 'Solve for the addin factor of I
lalatest.control r_a r r_0 'Solve for the add in factor for r
lalatest.control y_a y y_0 'Solve for the add in factor for y
lalatest.solve(d=d,o=g)
Unfortunately, it does not work. How can I make the solution of a model, with interactive equations in the model, equal to a set of trajectories? Thank you for your help!