opsr_2step: Heckman Two-Step Estimation

View source: R/opsr_2step.R

opsr_2stepR Documentation

Heckman Two-Step Estimation

Description

This is a utility function, used in opsr and should not be used directly. Tow-step estimation procedure to generate reasonable starting values.

Usage

opsr_2step(W, Xs, Z, Ys)

Arguments

W

matrix with explanatory variables for selection process.

Xs

list of matrices with expalanatory varialbes for outcome process for each regime.

Z

vector with ordinal outcomes (in integer increasing fashion).

Ys

list of vectors with continuous outcomes for each regime.

Details

These estimates can be retrieved by specifying .get2step = TRUE in opsr.

Value

Named vector with starting values passed to opsr.fit.

Remark

Since the Heckman two-step estimator includes an estimate in the second step regression, the resulting OLS standard errors and heteroskedasticity-robust standard errors are incorrect \insertCiteGreene:2002OPSR.

References

\insertRef

Greene:2002OPSR

See Also

opsr.fit, opsr_prepare_coefs


OPSR documentation built on Nov. 1, 2024, 5:07 p.m.