Learn R Programming

CBPS (version 0.8)

balance: Optimal Covariate Balance

Description

Returns the mean and standardized mean associated with each treatment group, before and after weighting.

Usage

balance(object, ...)

Arguments

object
A CBPS, CBMB, or CBMSM object.
...
Additional arguments to be passed to balance.

Value

  • Returns a list of two matrices, "original" (before weighting) and "balanced" (after weighting).

Details

Each of the matrices' rows are the covariates and whose columns are the weighted mean, and standardized mean associated with each treatment group. The standardized mean is the weighted mean divided by the standard deviation of the covariate for the whole population.

See Also

CBPS