sample selection

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Weaver102406
Posts: 13
Joined: Tue Aug 30, 2011 10:10 am

sample selection

Postby Weaver102406 » Tue Aug 30, 2011 10:26 am

I have data for firms located in different countries.The variable that contains the country identifier is named "LOC." I am able to select one country at a time by using smpl @all if loc="country" , but I would like to include several countries in the model [but not all of them]. How do I select which countries are to be included in the sample? "

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: sample selection

Postby startz » Tue Aug 30, 2011 10:27 am

Code: Select all

smpl if loc="country1" or loc="country2


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest