How to change a value of variable in eviews automatically?

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

gansuld
Posts: 9
Joined: Thu Jun 26, 2014 6:23 pm

How to change a value of variable in eviews automatically?

Postby gansuld » Mon Jun 30, 2014 12:55 am

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?

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

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

Postby EViews Gareth » Mon Jun 30, 2014 7:47 am

Code: Select all

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


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests