Description Usage Arguments Value Examples
View source: R/HeckmanSelect.R
Title Regularization method for binary Heckman selection model
1 2 3 4 5 6 7 8 9 10 11 | HeckSelect(
selection,
outcome,
data = sys.frame(sys.parent()),
lambda = NULL,
allowParallel = FALSE,
penalty = c("LASSO", "ALASSO"),
Model = c("Normal", "AMH"),
crit = c("bic", "aic", "gcv"),
...
)
|
selection |
selection equation |
outcome |
outcome equation |
data |
data matrix containing both the outcome and selection variables |
lambda |
shrinkage parameter, both scalar and vector are acceptable When lambda=NULL, the internal vector of Lambda is used |
allowParallel |
If true, the "doParallel" package is invoked |
penalty |
can be ALASSO (for adaptive lasso) or LASSO (for Lasso) penalty |
Model |
can either be Normal error of AMH (Ali-Mikhail-Haq) copula function |
crit |
can be BIC, AIC or GCV, default is BIC |
... |
class HeckSelect containing penalized coefficients and the parameters supplied for the creation of the object. Function call is also returned
1 | HeckSelect(selection, outcome, data=data, allowParallel = TRUE, penalty="ALASSO", Model="AMH",crit="bic")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.