balance {PND.heter.cluster} | R Documentation |
Checking covariate balance based on estimated cluster assignment probabilities (principal score) and treatment assignment probabilities (propensity score).
Description
Checking covariate balance based on estimated cluster assignment probabilities (principal score) and treatment assignment probabilities (propensity score).
Usage
balance(data_in, atekCl_results, covariate_names = "X_dat.1", ttname, Kname)
Arguments
data_in |
A |
atekCl_results |
[ |
covariate_names |
[ |
ttname |
[ |
Kname |
[ |
Value
A data.frame
containing the covariate balance measures (smd, standardized mean difference) between each cluster in the treatment arm and the control arm, both before and after the weighting adjustment.