Problem on structuring panel data

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

HardySi
Posts: 3
Joined: Mon Jul 23, 2012 3:43 am

Problem on structuring panel data

Postby HardySi » Mon Jul 23, 2012 4:09 am

Hi,

I'm good with time series, but this is my first venture into cross-section and panel data.

I have series of logins and then transactions for a 6 month period. Naturally, the number of transactions on each login varies between logins. Login is text and numbers (Lnnnnnn). Transaction is a number and I've also made unique, so if there are two with value 1021, I've changed second to 1021.01 (fairly rare occurance)

To structure the data in Proc/Structure Resize current page (Undated with ID Series), I've entered Login and Transaction, but says "Illegal panel structure LOGIN is nested within TRANSACTION" but not sure how this can be the case, not least because Transaction is unique within whole range of workfile. Login and Transaction do uniquely identify each observation, but not quite sure what message is telling me.

Many thanks!

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

Re: Problem on structuring panel data

Postby EViews Gareth » Mon Jul 23, 2012 7:47 am

Hard to say without seeing the data.

HardySi
Posts: 3
Joined: Mon Jul 23, 2012 3:43 am

Re: Problem on structuring panel data

Postby HardySi » Tue Jul 24, 2012 2:37 am

hardyexample.wf1
(21.66 KiB) Downloaded 199 times
I've attached sanitised version of the file, but still get same error.

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

Re: Problem on structuring panel data

Postby EViews Gareth » Tue Jul 24, 2012 7:59 am

I guess I'm not seeing the panel structure of your data. You need to have two series that combined uniquely identify each observation. You cannot have a situation where one series uniquely identifies the observations (since that isn't a panel, that's just a cross-sectional data set).

HardySi
Posts: 3
Joined: Mon Jul 23, 2012 3:43 am

Re: Problem on structuring panel data

Postby HardySi » Thu Jul 26, 2012 5:48 am

Yes, understood. I see your point. This is my first time with panel/cross-section so not yet coming naturally to me. I will revisit tomorrow and see how I get on. With many thanks.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 1 guest