A wrap function to estimate the propensity score by the multi-category angle-based large-margin classifiers.
abclass_propscore(
x,
treatment,
loss = c("logistic", "boost", "hinge.boost", "lum"),
penalty = c("glasso", "gscad", "gmcp", "lasso", "scad", "mcp", "cmcp", "gel",
"mellowmax", "mellowmcp"),
weights = NULL,
offset = NULL,
intercept = TRUE,
control = list(),
tuning = c("et", "cv_1se", "cv_min"),
...
)A numeric matrix representing the design matrix. No missing valus
are allowed. The coefficient estimates for constant columns will be
zero. Thus, one should set the argument intercept to TRUE
to include an intercept term instead of adding an all-one column to
x.
The assigned treatments represented by a character, integer, numeric, or factor vector.
A character value specifying the loss function. The available
options are "logistic" for the logistic deviance loss,
"boost" for the exponential loss approximating Boosting machines,
"hinge.boost" for hybrid of SVM and AdaBoost machine, and
"lum" for largin-margin unified machines (LUM). See Liu, et
al. (2011) for details.
A character vector specifying the name of the penalty.
A numeric vector for nonnegative observation weights. Equal observation weights are used by default.
An optional numeric matrix for offsets of the decision functions.
A logical value indicating if an intercept should be
considered in the model. The default value is TRUE and the
intercept is excluded from regularization.
A list of control parameters. See abclass.control()
for details.
A character vector specifying the tuning method. This
argument will be ignored if a single lambda is specified through
control.
Other arguments passed to the corresponding methods.