definition of outliers code example Example: what is an outlier an outlier is a data point that differs significantly from other observations.