BookmarkSubscribeRSS Feed

Outlier Detection and Treatment

Started ‎03-18-2022 by
Modified ‎03-18-2022 by
Views 1,892

I published a paper in the SESUG 2020 conference on the topic of outlier detection and treatment, and I am sharing it with the SAS community.


I describe the effects that outliers have on parameter estimates, univariate and multivariate detection methods, and local outlier factor (LOF) and local outlier probability (LoOP) detection methods. I discuss outlier treatment methods such as excision, using binary indicator variables, Winsorization, and transformations. I wrote two macros, %LOF_LoOP and %LOF_LoOP_PLOT, to implement local outlier identification for subsequent treatment.


The conference paper and the %LOF_LoOP macros are included as attachments.

Version history
Last update:
‎03-18-2022 08:54 AM
Updated by:



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags