outliers in code example

Example 1: what is an outlier

an outlier is a data point that differs significantly from other observations.

Example 2: what are outliers

In statistics, an outlier is a data point that differs significantly from other observations. An outlier may be due to variability in the measurement or it may indicate experimental error; the latter are sometimes excluded from the data set. An outlier can cause serious problems in statistical analyses.