Residuals of Robust Sample Selection Model

Share:

Description

Calculate the residuals of the sample selection model using robust fit.

Usage

1
2
## S3 method for class 'heckit5rob'
residuals(object, ...)

Arguments

object

object of class "heckitrob" or object of class "heckit5rob"

...

currently not used

Details

In case of truncated selection model one vector of residuals is returned. In case of switching regression model two vectors corresponding to two regimes are returned.

Value

The numeric vector(s) of the residuals.

Author(s)

Mikhail Zhelonkin, Marc G. Genton, Elvezio Ronchetti

See Also

heckitrob; heckit5rob

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.