This replaces the propensity score model with a known value of the propensity score.

add_known_propensity_score(hte_cfg, covariate_name)

Arguments

hte_cfg

HTE_cfg object to update.

covariate_name

Character indicating the name of the covariate name in the dataframe corresponding to the known propensity score.

Value

Updated HTE_cfg object

Examples

library("dplyr")
basic_config() %>%
   add_known_propensity_score("ps") -> hte_cfg