balance.matching {PSAboot}R Documentation

Returns balance for each covariate from propensity score matching.

Description

This function is function is primarily used by [PSAboot::balance()] and probably does not need to be called directly.

Usage

balance.matching(index.treated, index.control, covs)

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

Value

a named vector with one element per covariate.


[Package PSAboot version 1.3.8 Index]