Learn R Programming

ssmrob (version 1.0)

residuals.heckit5rob: Residuals of Robust Sample Selection Model Fit

Description

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

Usage

# S3 method for heckit5rob
residuals(object, ...)

Arguments

object

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

currently not used

Value

The numeric vector(s) of the residuals.

Details

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

See Also

heckitrob; heckit5rob