twostep: Heckman's two-step method

View source: R/twostep.R

twostepR Documentation

Heckman's two-step method

Description

Estimate model parameters via two-step method

Usage

twostep(selection, outcome, data = sys.frame(sys.parent()))

Arguments

selection

Selection equation.

outcome

Primary Regression Equation.

data

Database.

Value

Returns a numerical vector with the parameter estimates of the Classical Heckman model via a two-step method. For more information see \insertCiteheckman1979sample;textualssmodels

References

\insertAllCited

Examples

data(MEPS2001)
attach(MEPS2001)
selectEq <- dambexp ~ age + female + educ + blhisp + totchr + ins + income
outcomeEq <- lnambx ~ age + female + educ + blhisp + totchr + ins
twostep(selectEq, outcomeEq)

ssmodels documentation built on Oct. 4, 2022, 5:06 p.m.