wfopen and text representation for missing values

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

wfopen and text representation for missing values

Postby DBel2012 » Fri Feb 14, 2014 11:11 am

Hi,

I'm using EViews 7.

I'm importing data from Excel 2010. The file contains two diffrent text reprensentations for missing values : x and ..

I'm using the command wfopen and the na=".."

However, how can I feed the wfopen command to take into account x as the other missing value reprensentation ?

Thanks!

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

Re: wfopen and text representation for missing values

Postby EViews Gareth » Fri Feb 14, 2014 11:28 am

We don't allow you to specify more than one NA representation. However if you're reading in a numerical series, both "X" and ".." will be transformed to NA (along with any other text values).

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Re: wfopen and text representation for missing values

Postby DBel2012 » Fri Feb 14, 2014 11:44 am

Gareth,

EViews creates an alphanumeric series instead of a numeric series.

Can I convert the alphaseries to a numeric series ?

If so, what is the command?

Thanks!

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

Re: wfopen and text representation for missing values

Postby EViews Gareth » Fri Feb 14, 2014 1:14 pm

@val

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Re: wfopen and text representation for missing values

Postby DBel2012 » Fri Feb 14, 2014 1:34 pm

Many thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest