Skip to content

Opening book details…

About this document

Capping Outliers in Age Data by santro985 is a document available to read on EtoBox.

There are several techniques to detect and handle outliers in a dataset. The document discusses and demonstrates 1) using z-scores to identify outliers more than 3 standard deviations from the mean, 2) capping outlier values between the 1st and 99th percentiles to remove their influence, and 3) two methods for capping outliers in Python - using np.where() to replace values below/above thresholds and clip() to restrict values within a given range. Boxplots are used before and after handling outliers to visua

Author
santro985
Language
EN