'Recode' functionality
Posted: Wed Sep 24, 2014 8:36 am
Hello,
I was trying to get more information on how the 'recode' command works in EViews: logic behind; structure - is it similar to Excel's 'IF' function (condition, if true, if false); is a value of 1 = True and 0 = False; etc. Couldn't find any extended info in the EViews manuals.
Also, if you could tell me what the following code does would be greatly appreciated:
series ud = @recode(@isna(ud(-1)), ud_code = "Y", ud(-1)=1 or ud_code = "Y").
Thank you.
I was trying to get more information on how the 'recode' command works in EViews: logic behind; structure - is it similar to Excel's 'IF' function (condition, if true, if false); is a value of 1 = True and 0 = False; etc. Couldn't find any extended info in the EViews manuals.
Also, if you could tell me what the following code does would be greatly appreciated:
series ud = @recode(@isna(ud(-1)), ud_code = "Y", ud(-1)=1 or ud_code = "Y").
Thank you.