Generates pseudo population data set based on user-defined causal inference approach. The function uses an adaptive approach to satisfies covariate balance requirements. The function terminates either by satisfying covariate balance or completing the requested number of iteration, whichever comes first.
.data: A data.frame of observation data with id column.
cw_obj: An S3 object of counter_weight.
covariate_col_names: A list of covariate columns.
covar_bl_trs: Covariate balance threshold
covar_bl_trs_type: Type of the covariance balance threshold.
covar_bl_method: Covariate balance method.
Returns
Returns a pseudo population (gpsm_pspop) object that is generated or augmented based on the selected causal inference approach (ci_appr). The object includes the following objects: