Page 1 of 1

different equation in time

Posted: Sun Aug 25, 2013 3:24 pm
by mareto
Hi,

I have two variables - A and B. Variable A is equal to: (100-B) prior 2005; 100 in 2005 and (100+B) after 2005. How can I set this in Eviews 5?

Re: different equation in time

Posted: Sun Aug 25, 2013 3:42 pm
by startz
Hi,

I have two variables - A and B. Variable A is equal to: (100-B) prior 2005; 100 in 2005 and (100+B) after 2005. How can I set this in Eviews 5?

Code: Select all

smpl @first 2004 series A = 100-B smpl 2005 2005 A = 100 smpl 2006 @last A = 100+B ampl @all