Only include certain industries

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

Gr8Mate
Posts: 7
Joined: Sun Aug 05, 2012 10:47 pm

Only include certain industries

Postby Gr8Mate » Mon Feb 18, 2013 10:06 pm

Only include certain industries:

My industry variable is ICBIC

when I run my equation I want to exclude 2 industries - 7000 & 8000 - but included 1000-6000 & 9000

how can I do that? or do I need to create a new variable /sample?

Cheers
Mark

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Only include certain industries

Postby EViews Gareth » Mon Feb 18, 2013 10:17 pm

Just type something like this in the sample box:

Code: Select all

if industry <> 7000 and industry <> 8000

Gr8Mate
Posts: 7
Joined: Sun Aug 05, 2012 10:47 pm

Re: Only include certain industries

Postby Gr8Mate » Mon Feb 18, 2013 10:44 pm

Gr8 thanks - that worked a treat - simple when you know how - I see I can do it by clicking on Sample or when I run it under "sample"

Many thanks


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests