View source: R/abclass_propscore.R
| abclass_propscore | R Documentation |
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"),
...
)
x |
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 |
treatment |
The assigned treatments represented by a character, integer, numeric, or factor vector. |
loss |
A character value specifying the loss function. The available
options are |
penalty |
A character vector specifying the name of the penalty. |
weights |
A numeric vector for nonnegative observation weights. Equal observation weights are used by default. |
offset |
An optional numeric matrix for offsets of the decision functions. |
intercept |
A logical value indicating if an intercept should be
considered in the model. The default value is |
control |
A list of control parameters. See |
tuning |
A character vector specifying the tuning method. This
argument will be ignored if a single |
... |
Other arguments passed to the corresponding methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.