Page 1 of 1

Automatic update when changing data

Posted: Tue Jul 14, 2015 7:53 am
by anhkhoa_lpt
Dear Mr/Ms
I have a series named "GDP". Then I create a serie named "GDP_2" (equal GDP*2 by command: genr GDP_2=GDP*2).
Now I change data in GDP, I want GDP_2 serie also be automatically updated from GDP (equal new GDP * 2) . How can I do ?
Thank you very much.

Re: Automatic update when changing data

Posted: Tue Jul 14, 2015 8:02 am
by EViews Gareth
Frml gdp_2 = 2*gdp

Re: Automatic update when changing data

Posted: Tue Jul 14, 2015 10:31 am
by anhkhoa_lpt
Many thanks, Mr Gareth :D