Diagnostics_cfg | R Documentation |
Diagnostics_cfg
is a configuration class for estimating a variety of
diagnostics for the models trained in the course of HTE estimation.
ps
Model diagnostics for the propensity score model.
outcome
Model diagnostics for the outcome models.
effect
Model diagnostics for the joint effect model.
params
Parameters for any requested diagnostics.
new()
Create a new Diagnostics_cfg
object with specified diagnostics to estimate.
Diagnostics_cfg$new(ps = NULL, outcome = NULL, effect = NULL, params = NULL)
ps
Model diagnostics for the propensity score model.
outcome
Model diagnostics for the outcome models.
effect
Model diagnostics for the joint effect model.
params
List providing values for parameters to any requested diagnostics.
A new Diagnostics_cfg
object.
Diagnostics_cfg$new( outcome = c("SL_risk", "SL_coefs", "MSE", "RROC"), ps = c("SL_risk", "SL_coefs", "AUC") )
add()
Add diagnostics to the Diagnostics_cfg
object.
Diagnostics_cfg$add(ps = NULL, outcome = NULL, effect = NULL)
ps
Model diagnostics for the propensity score model.
outcome
Model diagnostics for the outcome models.
effect
Model diagnostics for the joint effect model.
An updated Diagnostics_cfg
object.
cfg <- Diagnostics_cfg$new( outcome = c("SL_risk", "SL_coefs", "MSE", "RROC"), ps = c("SL_risk", "SL_coefs") ) cfg <- cfg$add(ps = "AUC")
clone()
The objects of this class are cloneable with this method.
Diagnostics_cfg$clone(deep = FALSE)
deep
Whether to make a deep clone.
Diagnostics_cfg$new(
outcome = c("SL_risk", "SL_coefs", "MSE", "RROC"),
ps = c("SL_risk", "SL_coefs", "AUC")
)
## ------------------------------------------------
## Method `Diagnostics_cfg$new`
## ------------------------------------------------
Diagnostics_cfg$new(
outcome = c("SL_risk", "SL_coefs", "MSE", "RROC"),
ps = c("SL_risk", "SL_coefs", "AUC")
)
## ------------------------------------------------
## Method `Diagnostics_cfg$add`
## ------------------------------------------------
cfg <- Diagnostics_cfg$new(
outcome = c("SL_risk", "SL_coefs", "MSE", "RROC"),
ps = c("SL_risk", "SL_coefs")
)
cfg <- cfg$add(ps = "AUC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.