Date ID series coded to string value

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

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 12:06 pm

Hi there,

I am currently trying to import a panel dataset into Eviews. However, when I specify the date ID series to the correct series it tells me that it is: "unable to determine the date format".

Some of my colleagues who use Stata tell me that the series has been incorrectly encoded to string values and are able to turn this into something they can use with Stata. Unfortunately, Eviews isn't able to read this type as a date ID series. I'm at a loss as to how to transform the series into a format I can use and I would greatly appreciate any help.

Kind regards,

Tuinsmurf

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

Re: Date ID series coded to string value

Postby EViews Gareth » Thu Mar 31, 2016 1:23 pm

Without knowing the format of the dates, it is impossible to say.

You probably want to use the @dateval function.
http://www.eviews.com/help/helpintro.ht ... 87.10.html

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:02 pm

I would upload except its too large. Hold on I'll copy the series thats giving me difficulties

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:04 pm

data sample.xlsx
(381.19 KiB) Downloaded 717 times

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:07 pm

About those commands; I can only use them once I've imported the data and when I tried it told me that "period" wasnt defined.

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

Re: Date ID series coded to string value

Postby EViews Gareth » Thu Mar 31, 2016 3:07 pm

There doesn't appear to be any date in that Excel file.

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:18 pm

Would there be anyway to introduce such a date?

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

Re: Date ID series coded to string value

Postby EViews Gareth » Thu Mar 31, 2016 3:21 pm

That's a confusing question. Either your data is dated or it isn't. If it is dated, where are the dates? If it isn't dated, what are you trying to do with dates?

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:33 pm

Hopefully the attached files will give you more perspective.

I am trying to look at the demand for wine and its determinants in Sweden, although I still haven't managed to import the data to Eviews yet :(
Attachments
wine_Readme_2016.pdf
(118.99 KiB) Downloaded 584 times
SAMPLE2.png
SAMPLE2.png (117.28 KiB) Viewed 15264 times

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

Re: Date ID series coded to string value

Postby EViews Gareth » Thu Mar 31, 2016 3:38 pm

So isn't the column titled "date" the date column?

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

Re: Date ID series coded to string value

Postby Tuinsmurf » Thu Mar 31, 2016 3:45 pm

I tried it as date series, but even the descriptive statistics of the variables look odd. I have also been told that period is the correct Date ID by others working on the project.

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

Re: Date ID series coded to string value

Postby EViews Gareth » Thu Mar 31, 2016 3:50 pm

I don't think there's any thing more we can do. Either the dates are dates or they're not. If you want to use "period" as the time period, that will work fine too, but just not as dates.

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Date ID series coded to string value

Postby startz » Thu Mar 31, 2016 4:42 pm

Do the dates just tell you the year, or is there something more going on? In other words, do the dates ever show different days within the same year?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests