sample in unbalanced panel data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
sample in unbalanced panel data
I have unbalanced panel data set that was entered as unstructured data in EViews 7. I want to sample by year but the example in the manual does not fit my situation. Year is a variable in the data set. Tried smpl if year 1980 1985. That does not work. How should I approach the sample statement?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: sample in unbalanced panel data
Assuming you don't want to perform the obvious task of converting it from unstructured data into a panel, this should work:
Code: Select all
smpl if year>=1980 and year<=1985
Who is online
Users browsing this forum: No registered users and 1 guest
