Page 1 of 1

How to change a value of variable in eviews automatically?

Posted: Mon Jun 30, 2014 12:55 am
by gansuld
I have one variable takes only No and Yes. I want to convert from this strings variable into numerical variable that takes 0 and 1. How could I do this?

Re: How to change a value of variable in eviews automaticall

Posted: Mon Jun 30, 2014 7:47 am
by EViews Gareth

Code: Select all

series myseries = myotherseries = "Yes"
where myotherseries is the name of the existing alpha series.