The above definition of an outlier is total rubbish! It is necessary to have a measure of the central tendency (mean or median) AND spread (standard deviation or inter quartile range - IQR) to define an outlier.
If Q1 and Q3 are the lower and upper quartiles, then outliers are normally defined as observations lying below Q1 - k*IQR or above Q3 + k*IQR. There is no universally agreed definition of outliers and hence no fixed value for k. But k = 1.5 is often used.
Chat with our AI personalities
An outlier pulls the mean towards it. It does not affect the median and only affects the mode if the mode is itself the outlier.
The mean is better than the median when there are outliers.
The mean. Or the mode.
Outlier: an observation that is very different from the rest of the data.How does this affect the data: outliers affect data because it means that your calculations might be off which makes it a possibility that more than the outlier is off.
Calculate the mean, median, and range with the outlier, and then again without the outlier. Then find the difference. Mode will be unaffected by an outlier.