different equation in time

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

mareto
Posts: 4
Joined: Sun Aug 25, 2013 3:17 pm

different equation in time

Postby mareto » Mon Aug 26, 2013 6:01 am

Hi,

I have two variables - A and B. A is equal to 100-B prior 2005, is equal to 100 in 2005 and is equal to 100+B after 2005. How can I set this in a model in Eviews 5?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13305
Joined: Tue Sep 16, 2008 5:38 pm

Re: different equation in time

Postby EViews Gareth » Mon Aug 26, 2013 6:55 am

Use a @recode statement.
Follow us on Twitter @IHSEViews

mareto
Posts: 4
Joined: Sun Aug 25, 2013 3:17 pm

Re: different equation in time

Postby mareto » Tue Aug 27, 2013 9:44 am

Thank you very much;)


Return to “Models”

Who is online

Users browsing this forum: No registered users and 12 guests