heckitrob {ssmrob} | R Documentation |
Robust Heckit Fit
Description
Fits the sample selection model using a robust two-stage estimator
Usage
heckitrob(selection, outcome, data, control = heckitrob.control())
Arguments
selection |
formula, the selection equation |
outcome |
formula, the outcome equation |
data |
an optional data frame containing the variables in the model. If not found in data, the variables are taken from |
control |
a list of parameters for controlling the fitting process |
Details
Compute robust two-stage estimates of the Heckman's selection model. The robust probit is fitted in the first stage. In the second stage the Mallows type M-estimator is used.
The values of the tuning constants and the robustness weights can be modified in heckitrob.control
.
Value
Object of class "heckitrob".
coefficients |
a named vector of coefficients |
stage1 |
object of class |
stage2 |
object of class |
vcov |
variance matrix of the second stage |
sigma |
the standard error of the error term of the outcome equation |
IMR1 |
inverse Mills ratio for the case when y_1=1 |
call |
the matched call |
method |
method of estimation, currently only "robust two-stage" is implemented |
converged |
logical. Did all the estimators converge? |
iterations |
list containing the numbers of iterations |
Author(s)
Mikhail Zhelonkin, Marc G. Genton, Elvezio Ronchetti
References
Cameron, C.A., Trivedi, P.K. (2009) Microeconometrics Using Stata. College Station, TX: Stata Press.
Heckman, J.J. (1979) Sample Selection Bias as a Specification Error. Econometrica, 47, p. 153-161.
Zhelonkin, M., Genton M.G., and Ronchetti, E. (2016) Robust Inference in Sample Selection Models. Journal of the Royal Statistical Society, Series B, 78, p. 805-827. doi: 10.1111/rssb.12136
Zhelonkin, M., Ronchetti, E. (2021) Robust Analysis of Sample Selection Models through the R Package ssmrob. Journal of Statistical Software, 99, 4, p. 1-35. doi: 10.18637/jss.v099.i04
See Also
glmrob
, rlm
, ssmrob
, heckitrob.control
, heckit5rob
, etregrob
Examples
# Zhelonkin, Genton, Ronchetti (2016): page 823
data(MEPS2001)
selectEq <- dambexp ~ age + female + educ + blhisp + totchr + ins
outcomeEq <- lnambx ~ age + female + educ + blhisp + totchr + ins
meps.fit <- ssmrob(selectEq, outcomeEq, data = MEPS2001, control = heckitrob.control(tcc = 3.2))
summary(meps.fit)