Learn R Programming

ssmrob (version 1.0)

fitted.heckitrob: Fitted values of robust sample selection model

Description

Calculate the fitted values of the sample selection model using robust fit.

Usage

# S3 method for heckitrob
fitted(object, ...)

Arguments

object

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

currently not used

Value

vector of fitted values or a list that contains two vectors of fitted values

Details

In case of truncated selection model one vector of fitted values is returned. In case of switching regression model a list, that contains two vectors corresponding to two regimes, is returned.