Question: Finding outliers in a data set. Detecting unusual numbers or outliers in a data set is important in many disciplines, because the outliers identify interesting

Finding outliers in a data set. Detecting unusual numbers or outliers in a data set is important in many disciplines, because the outliers identify interesting phenomena, extreme events, or invalid experimental results. A simple method to check if a data value is an outlier is to see if the value is a significant number of standard deviations away from the mean of the data set. For example, Xk is an outlier if XXX>NX where x is the data set mean, x is the data set standard deviation, and N is the number of standard deviations deemed significant. Assign outlierData with all values in userData that are numberStdDevs standard deviations from userData's mean. Hint: use logical indexing to return the outlier data values. Ex: If userData is [9,50,51,49,100] and numberStdDevs is 1 , then outlierData is [9,100]. Function 8 M Save CReset m MATLAB Documentation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
