Excluding observations according to a threshold

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

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Excluding observations according to a threshold

Postby Pantera » Tue Feb 04, 2014 2:35 pm

Hi all,

Background: I'm running a regression and want to exclude values on the dependent variable which are less than or equal to a chosen threshold, let's say y <= 5. I'm looking for a "skip if"-command. Question: Any suggestions which EViews8 script can solve the problem?

Regards,

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

Re: Excluding observations according to a threshold

Postby EViews Gareth » Tue Feb 04, 2014 3:50 pm

Code: Select all

smpl if y<=5

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Excluding observations according to a threshold

Postby Pantera » Tue Feb 04, 2014 4:39 pm

Thank :)

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

Re: Excluding observations according to a threshold

Postby EViews Gareth » Tue Feb 04, 2014 4:49 pm



Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests