Help using Base SAS procedures

Outlier detection

Reply
N/A
Posts: 0

Outlier detection

Hi ,

could you suggest soem useful commands and their interpretations if I want to find if there are any influential observations / outliers in my data.

Kind Regards ,
markc
SAS Super FREQ
Posts: 8,868

Re: Outlier detection

Posted in reply to deleted_user
Trusted Advisor
Posts: 2,116

Re: Outlier detection

Posted in reply to deleted_user
Whether or not an observation is an outlier or influential observation (they are often thought of differently) is a function of your putative model. The UNIVARIATE procedure that Cynthia mentioned will look at several different single variable distributions.

All of the regression type statistical models in SAS 9.2 have very good ODS graphics to assist in outlier detection. There is a section with each procedure describing the diagnostic models available in the ODS Graphics.
New Contributor
Posts: 2

Re: Outlier detection

Posted in reply to deleted_user
For the "interpretations" part of your question, I use the mean and standard deviation to identify thresholds for univariate outliers.

For samples < 500, outliers are values that exceed [mean + or - 1.96 standard deviations]. This is equivalent to a 95% confidence interval.

If 500 < n < 5,000, [mean + or - 2.576 standard deviations]... 99% CI.

For n > 5,000, [mean + or - 3.291 standard deviations]... 99.9% CI.

For multivariate outliers, I look at Cook's D & DFFits most often.

Good luck,

Parker
Contributor
Posts: 34

Re: Outlier detection

Posted in reply to deleted_user
just as an addition to above answers.....To find outliers with character data you can use PROC FREQ to find all the values of a particular character variable.
To find outliers in Numeric data we can use PROC Means.
Ask a Question
Discussion stats
  • 4 replies
  • 230 views
  • 0 likes
  • 5 in conversation