I have an unbalanced panel which consists of: 1) hundreds of unique individual id; 2) a group id (A,B,C); 3) T time periods; 4) other variables
I want to create a panel in which the individuals are aggregated by group, so that the panel is 3xT.
I have created a new page using group id as the cross id, then performed a matched merge, contracting using the mean. I must be doing something wrong because the values of the other variables (weight, height, etc.) are the same across groups for corresponding time periods. Is there a step-by-step example of how to correctly do what seems like should be a common application?
Aggregation of Panel Data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Aggregation of Panel Data
Could you provide your workfile (or an example of similar structure)?
Re: Aggregation of Panel Data
Attached is a workfile. I want to aggregate dq by proptype and activitydt. Then in another page I want to aggregate dq by purposetype and activitydt. BTW I am using EVIEWS 8 Enterprise 64 bit.
- Attachments
-
- test v3.WF1
- (1.15 MiB) Downloaded 213 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Aggregation of Panel Data
These are the steps I took, which seemed to work:
http://www.eviews.com/Forum_support/Pan ... llapse.htm
http://www.eviews.com/Forum_support/Pan ... llapse.htm
Re: Aggregation of Panel Data
Thank you that does the trick!
Who is online
Users browsing this forum: No registered users and 2 guests
