Remove Outliers VI

Owning Palette: Advanced Curve Fitting VIs

Requires: Full Development System

Removes data points that fall outside a given range or within a given index array. You must manually select the polymorphic instance you want to use.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Remove Outliers (Range)

Y is the array of dependent values.
X is the array of independent values. X must be the same size as Y.
Weight is the array of weights for the observations (X, Y). Weight must be the same size as Y. If Weight is unwired, this VI sets Weight Out to an empty array.
range type specifies the axis to which the bounds in Range apply.
Range specifies the upper and lower bounds of the range. This VI removes data points that lie on or outside the bounds of Range. If range type is Y or X, this VI uses the first two elements in Range as the upper and lower bounds, respectively, for the given axis. If range type is X and Y, this VI uses the first and second elements in Range as the upper and lower bounds for the x-axis and the third and fourth elements in Range as the upper and lower bounds for the y-axis.
Y Out returns the array of dependent values with the outliers removed.
X Out returns the array of independent values with the outliers removed.
Weight Out returns the array of weights with the outliers removed.
Outlier Indexes returns the array indexes for the outliers of the data set.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Remove Outliers (Index)

Y is the array of dependent values.
X is the array of independent values. X must be the same size as Y.
Weight is the array of weights for the observations (X, Y). Weight must be the same size as Y. If Weight is unwired, this VI sets Weight Out to an empty array.
Index specifies the array of indexes of the outliers to remove.
Y Out returns the array of dependent values with the outliers removed.
X Out returns the array of independent values with the outliers removed.
Weight Out returns the array of weights with the outliers removed.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.