outlier {robust2sls} | R Documentation |
Outlier history of single observation
Description
outlier
takes a "robust2sls"
object and the index of a specific
observation and returns its history of classification across the different
iterations contained in the "robust2sls"
object.
Usage
outlier(robust2sls_object, obs)
Arguments
robust2sls_object |
An object of class |
obs |
An index (row number) of an observation |
Value
outlier
returns a vector that contains the 'type' value for
the given observations across the different iterations. There are three
possible values: 0 if the observations is judged to be an outlier, 1 if not,
and -1 if any of its x, y, or z values required for estimation is missing.
[Package robust2sls version 0.2.2 Index]