Hi
In a series or group, if I want to omit a outlier or a specific observation of the series, what should I write in the command line?
Please kindly advise. Thank you.
Omit a Outlier
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Omit a Outlier
Leslie Hsu wrote:Hi
In a series or group, if I want to omit a outlier or a specific observation of the series, what should I write in the command line?
Please kindly advise. Thank you.
use the smpl command
Code: Select all
smpl @all
includes the entire sample
Code: Select all
smpl 1 9 11 100
include the first hundred data points, excepting the 10th.
-
- Posts: 2
- Joined: Wed Jun 03, 2009 9:00 pm
Re: Omit a Outlier
Thank you, startz~
If there are several thousands of obs. in the series and roughly 10-30 outliers distribute everywhere, is there any method to omit these outliers. Otherwise, is it possible to delete these outlier? For example, we may write "if smpl=10 then delet" in SAS. Thank you.
If there are several thousands of obs. in the series and roughly 10-30 outliers distribute everywhere, is there any method to omit these outliers. Otherwise, is it possible to delete these outlier? For example, we may write "if smpl=10 then delet" in SAS. Thank you.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Omit a Outlier
Leslie Hsu wrote:Thank you, startz~
If there are several thousands of obs. in the series and roughly 10-30 outliers distribute everywhere, is there any method to omit these outliers. Otherwise, is it possible to delete these outlier? For example, we may write "if smpl=10 then delet" in SAS. Thank you.
Look up smpl if, as in
Code: Select all
smpl if some-logical-condition
Who is online
Users browsing this forum: No registered users and 33 guests