remove cross sections from panel
Posted: Wed Sep 02, 2015 12:06 pm
Hello,
I am using EViews version 7.2. I have a balanced panel workfile with annual data from 1990 to 2002 and 44 cross sections (572 observations). The cross sections are identified with words rather than numbers. I would like to run an estimation with 6 of the cross sections removed. I tried going into "contract current page" and using a command like this.
Sample of observations to keep within the workfile:
1990 2002 if @crossid not "name one" and @crossid not "name two" and @crossid not "name three" and @crossid not "name four" and @crossid not "name five" and @crossid not "name six"
But I got an syntax error, and I'm not sure what is wrong.
Thanks in advance.
I am using EViews version 7.2. I have a balanced panel workfile with annual data from 1990 to 2002 and 44 cross sections (572 observations). The cross sections are identified with words rather than numbers. I would like to run an estimation with 6 of the cross sections removed. I tried going into "contract current page" and using a command like this.
Sample of observations to keep within the workfile:
1990 2002 if @crossid not "name one" and @crossid not "name two" and @crossid not "name three" and @crossid not "name four" and @crossid not "name five" and @crossid not "name six"
But I got an syntax error, and I'm not sure what is wrong.
Thanks in advance.