Please read- How to proceed with unbalanced undated panel?

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

catherinechui
Posts: 3
Joined: Thu Sep 12, 2013 6:09 pm

Please read- How to proceed with unbalanced undated panel?

Postby catherinechui » Thu Sep 12, 2013 6:42 pm

HI Eview master,

I tried to import panel data, and I get this error message when tried to restructure the panel data under dated panel option.

Illegal panel structure daystoexpiry nested within dateid.

Currently the cross section is daystoexpiry and it is in one column , and date MM/DD/YYYY in excel is in another column. Then a third column called 'Hour' further divides one day into 6 trading hour. So I am guessing that I will need to create a specific time id for each hour for each day. So I followed through a thread 'create date series?' that was posted on 26th Aug by Gareth, and did the same thing as suggested below.

Thread posted:

EViews 7 and 8 support intraday frequencies, including hourly.

Just use Proc->Structure/Resize Current Page, then choose Dated-Specified by Date Series, then enter the names of your series.

Then i get this message when I tried the above:
Indicies do not uniquely identify observations. 11108 duplicate date found. Create CELLID series to identify observations?

I chose yes, and I see this message:
Adding CELLID as the inner index will create a 2 dimension unbalanced undated panel.


Can you advise what I should do ? Is the Date Series mentioned above referring to Hour? Also, how can I restructure the panel data by 'dated by time series' after the new time format is created, what would i enter in the 'date series' in workfile structure panel ?

Attached excel file for your reference.

many thanks
Catherine
Attachments
Gambit.xls
EXCEL DATA
(1.3 MiB) Downloaded 225 times

catherinechui
Posts: 3
Joined: Thu Sep 12, 2013 6:09 pm

Re: Please read- How to proceed with unbalanced undated pane

Postby catherinechui » Fri Sep 13, 2013 3:06 am

I am using Eviews 8 version.

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

Re: Please read- How to proceed with unbalanced undated pane

Postby EViews Gareth » Fri Sep 13, 2013 7:58 am

I can't really see the panel nature of your data.

It is easy to build a datetime series:

Code: Select all

series datetime = date + hour/24
But there isn't really a panel to be made. There isn't a value of "30" and "29" and "28" etc... for 01-01-11.

catherinechui
Posts: 3
Joined: Thu Sep 12, 2013 6:09 pm

Re: Please read- How to proceed with unbalanced undated pane

Postby catherinechui » Fri Sep 13, 2013 8:27 am

Hi Gareth,

you are right that there isnt a nature for panel data. My goal is to regress how price, hour, daystoexpiry and ourvolumne affect PnL. And I want to spot any seasonality on effect on daystoexpiry. So that will be a multivariant regression? If that is the case, how or can I structure the time series because there are 6 hours in a day. Or will Hour also be dummy variable? Also Price has only high or low value, so i would think I need to create a dummy variable.

Many thanks for prompt reply.

Catherine

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

Re: Please read- How to proceed with unbalanced undated pane

Postby EViews Gareth » Fri Sep 13, 2013 8:32 am

I cannot help with those questions.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests