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).
Known_cfg$new("propensity_score")
## ------------------------------------------------
## Method `Known_cfg$new`
## ------------------------------------------------
Known_cfg$new("propensity_score")
#> <Known_cfg>
#> Inherits from: <Model_cfg>
#> Public:
#> clone: function (deep = FALSE)
#> covariate_name: propensity_score
#> initialize: function (covariate_name)
#> model_class: known