Page 1 of 1

Sample Manipulation

Posted: Tue May 26, 2015 2:16 am
by Artur Patricio
Hi everyone I would like to ask for your help for the following problem that I am facing:

I have a panel data database and I would like to run a model for just some cross section observations. For intance I have economic variables in data series since 1980 for a lot of countries. However in the regression I wan to run I would like to include not all countries but only some countries. I know that when we are estimating an equation in the sample we can do this specification but I guess how can I do it ? Does anyone knows how to help me ?

Thanks a lot

Artur

Re: Sample Manipulation

Posted: Tue May 26, 2015 8:04 am
by EViews Gareth
Easiest way is to use the @inslist function.

Code: Select all

smpl if @inlist(country, "USA FRANCE GERMANY")=1