Setting sample size in a pooled panel
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Setting sample size in a pooled panel
I have 30 cross section units each with annual observations of a variable called X over the period 2002 to 2008. I would like to set the sample so that only the cross-section observations for each year that are above the average value of X for each year are included. I would seem to need to enter multiple lines in the sample window, but I just don't know.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Setting sample size in a pooled panel
Code: Select all
smpl if X>@meansby(X,@obsid)
Who is online
Users browsing this forum: No registered users and 2 guests
