Known_cfg | R Documentation |
Known_cfg
is a configuration class for when a particular model is known
a-priori. The prototypical usage of this class is when heterogeneous
treatment effects are estimated in the context of a randomized control
trial with known propensity scores.
tidyhte::Model_cfg
-> Known_cfg
covariate_name
The name of the column in the dataset which corresponds to the known model score.
model_class
The class of the model, required for all classes
which inherit from Model_cfg
.
new()
Create a new Known_cfg
object with specified covariate column.
Known_cfg$new(covariate_name)
covariate_name
The name of the column, a string, in the dataset corresponding to the known model score (i.e. the true conditional expectation).
A new Known_cfg
object.
Known_cfg$new("propensity_score")
clone()
The objects of this class are cloneable with this method.
Known_cfg$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `Known_cfg$new`
## ------------------------------------------------
Known_cfg$new("propensity_score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.