Wrong datatype in CSV import

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

lb85
Posts: 11
Joined: Tue May 08, 2012 9:55 am

Wrong datatype in CSV import

Postby lb85 » Tue May 29, 2012 9:42 am

Hi all

I face a problem when importing data from a CSV file to Eviews 6 that I have not come across yet.
The CSV file is organized as a stacked panel file (monhtly data) and I have about 6 variables in the file which should all have numeric datatypes. But somehow, Eviews incorrectly recognizes two of the variables as characters even though they're exactely the same as the other 4. I have also made sure in Excel that they all have numeric cell format, but this doesn't help.

Do you have any idea why Eviews is not importing these two variables correctly? I have many NA in the file, as it's unbalanced. But this is also the case for the 4 variables that are correctly recognized.

Your help is highly appreciated!

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

Re: Wrong datatype in CSV import

Postby EViews Gareth » Tue May 29, 2012 9:45 am

Hard to tell without seeing the Excel file.

lb85
Posts: 11
Joined: Tue May 08, 2012 9:55 am

Re: Wrong datatype in CSV import

Postby lb85 » Tue May 29, 2012 9:57 am

Hi Gareth

I tried to upload the xlsx file but it's too large (~8MB) and even a zip file is larger than the threshold of 2 MB.
Can I send it by e-mail?

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

Re: Wrong datatype in CSV import

Postby EViews Gareth » Tue May 29, 2012 10:01 am



Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest