User`s guide

excludedata
4-98
4excludedata
Purpose Specify data to be excluded from a fit
Syntax outliers = excludedata(xdata,ydata,’MethodName’,MethodValue)
Arguments
Description
outliers = excludedata(xdata,ydata,’MethodName’,MethodValue)
identifies data to be excluded from a fit using the specified MethodName and
MethodValue. outliers is a logical vector containing 1s marking data points
to exclude while fitting, and 0s marking data points to include while fitting.
The data exclusion methods are given below.
xdata A column vector of predictor data.
ydata A column vector of response data.
'MethodName' The data exclusion method.
MethodValue The value associated with MethodName.
outliers A logical vector that defines data to be excluded from a fit.
Method Description
box
A four-element vector that specifies a box of data to include in a
fit. Data outside the box is excluded. You specify the box as
[x
min
x
max
y
min
y
max
].
domain A two-element vector that specifies the domain of data to
include in a fit. Data outside this domain is excluded. You
specify the domain as [x
min
x
max
].
indices A vector specifying the indices of the data points to be excluded.
range A two-element vector that specifies the range of data to include
in a fit. Data outside this range is excluded. You specify the
range as [y
min
y
max
].