Page 1 of 1

"Solve Control for Target" to new variable

Posted: Mon Feb 27, 2017 2:41 am
by KrilleJ
Hi.

I have a question regarding "Solve Control for Target".

Suppose that I have a model with the equations:

y1=x1
y2=x2
sum=x1+x2


Suppose that y1, y2 and sum are endogeneous and that x1 and x2 are exogeneous and take the values 1 and 2 throughout the sample.

Also, the series target_zero contains zeros everywhere in the sample.

If I want to solve for x1 to obtain a sum that is equal to target_zero, I use:

MyMod.control x1 sum target_zero

However, the series x1 is overwritten with the new solved values (-2). Is there a way to (automatically) let the solved values for x1 be stored in a new variable, e.g. with the name x1_0?

Best,
Kristian

Re: "Solve Control for Target" to new variable

Posted: Mon Feb 27, 2017 9:11 am
by EViews Gareth
I believe not.