wfopen for dated panel data

For questions regarding programming in the EViews programming language.

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

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

wfopen for dated panel data

Postby eviewsnew » Wed Apr 27, 2011 5:06 pm

I used wfopen to open a dated panel data. When I run my program, I got error message about the sample "error in sample. Illegal date ....in ...".

I opened the same data by file-->open-->foreign data. And I select dated panel structure, typing in the cross section and time variables, and run the same program. The error message above is gone.

How can I open my data in a dated panel structure using wfopen?

my current syntax: wfopen \\sac-psas-01\econ\riskindex\ur_nsa_eviews.csv

thanks!

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

Re: wfopen for dated panel data

Postby EViews Gareth » Wed Apr 27, 2011 6:07 pm

Could you post the file?

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

Re: wfopen for dated panel data

Postby eviewsnew » Thu Apr 28, 2011 1:59 pm

Could you post the file?

I have two collumns in this file indicating about date. One is called time in the format of 1990Q1, another is a modified time variable for our own internal use, with a name yearqq and in the format of 1990.125.

I removed the 1990.125 format variable yearqq, and now runs the same wfopen line, it works.

I wonder how eviews automatically dectect the time/frequency information for the time series data in a file? it has specifically defined format to accept? why that 1990.125 format data (yearqq) is not considered a simple numeric series?

thanks,


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests