Hello,
I wonder if one could sort panel data in Eviews by year instead of ID (see example below)? Right now I can only get all years for the first ID, then all years for the next and so on.
ID Year Series
1 1995 12
2 1995 ..
3 1995 ..
1 1996 ..
2 1996
3 1996
1 1997
2 1997
3 1997
Best regards,
Per
Sort panel data
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sort panel data
Not really.
You could restructure the panel as an undated panel, and then have the time and cross-section identifiers in any order you want, but then you'll lose all date functionality.
You could restructure the panel as an undated panel, and then have the time and cross-section identifiers in any order you want, but then you'll lose all date functionality.
Follow us on Twitter @IHSEViews
-
- Posts: 24
- Joined: Fri Sep 16, 2016 6:35 am
Re: Sort panel data
Thanks for ýour answer.
The reason I asked had to do with the new geomap objects. It doesn't seem to connect the map id (e.g. a municipality code) with the corresponding code in the dataset for a panel. But it works fine if you only look for one year separately.
/Pelle
The reason I asked had to do with the new geomap objects. It doesn't seem to connect the map id (e.g. a municipality code) with the corresponding code in the dataset for a panel. But it works fine if you only look for one year separately.
/Pelle
-
- EViews Developer
- Posts: 2672
- Joined: Wed Oct 15, 2008 9:17 am
Re: Sort panel data
It should work. Can you give us a bit more detail on precisely what you are doing, what you expect, and what you are seeing.
Thanks.
Thanks.
Who is online
Users browsing this forum: No registered users and 25 guests