| moml | R Documentation |
Performs the outcome-weighted margin-based learning for multicategory treatments proposed by Zhang, et al. (2020).
moml(
x,
treatment,
reward,
propensity_score,
loss = c("logistic", "boost", "hinge.boost", "lum"),
penalty = c("glasso", "lasso"),
weights = NULL,
offset = NULL,
intercept = TRUE,
control = moml.control(),
...
)
moml.control(...)
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. |
reward |
A numeric vector representing the rewards. It is assumed that a larger reward is more desirable. |
propensity_score |
A numeric vector taking values between 0 and 1 representing the propensity score. |
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 |
... |
Other arguments passed to the control function, which calls the
|
Zhang, C., Chen, J., Fu, H., He, X., Zhao, Y., & Liu, Y. (2020). Multicategory outcome weighted margin-based learning for estimating individualized treatment rules. Statistica Sinica, 30, 1857–1879.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.