Mathematics Previous page   Next Page

Removing Outliers

You can remove outliers or misplaced data points from a data set in much the same manner as NaNs. For the vehicle traffic count data, the mean and standard deviations of each column of the data are

The number of rows with outliers greater than three standard deviations is obtained with

There is one outlier in the first column. Remove this entire observation with


Previous page  Data Preprocessing Regression and Curve Fitting Next page

© 1994-2005 The MathWorks, Inc.