Returns balance for each covariate from propensity score matching.
Source:R/balance.matching.R
balance.matching.Rd
This function is function is primarily used by [PSAboot::balance()] and probably does not need to be called directly.
Arguments
- index.treated
a vector with the index of treated rows in
covs
.- index.control
a vector with the index of control rows in
covs
.- covs
data frame or matrix of covariates. Factors should already be recoded. See
cv.trans.psa