Detect outliers in the vector by treating anything that falls outside of some distance from the mean as an outlier. Common number of standard deviation units are 2.5, 2.7, 3 and 3.5. The larger the dataset, the greater the number of units that should be used.
Calculate the lower and upper bound for acceptable values for vector y. Treat anything that falls outside of some factor standard deviation units from the mean as an outlier.
Calculate the lower and upper bound for acceptable values for vector y. Treat anything that falls outside of some factor standard deviation units from the mean as an outlier.
Value parameters
factor
the factor used in computing the bound (# std deviations)