Find the statistical range (max − min) of a dataset with extremes identified.
The range is the simplest measure of dispersion: the difference between the largest and smallest values in a dataset. While easy to compute, it is sensitive to outliers.
Range = max(x) − min(x)
It only uses two data points (the extremes) and ignores the distribution of all other values, making it very sensitive to outliers.
The interquartile range (IQR), variance, and standard deviation are more robust measures because they consider more data points.