Learn R Programming

CBPS (version 0.8)

plot.CBMSM: Plotting Covariate Balancing Propensity Score Estimation

Description

Plots the absolute difference in standardized means before and after weighting.

Usage

## S3 method for class 'CBMSM':
plot(x,stabilized=TRUE,...)

Arguments

x
an object of class CBMSM.
stabilized
Set to TRUE to use stabilized weights, and FALSE to use unstabilized weights. Default is TRUE.
...
Additional arguments to be passed to plot.

Value

  • For each contrast and all covariates, plots the absolute mean difference before weighting on the x-axis and after weighting on the y-axis.

Details

Covariate balance is improved if the plot's points are below the plotted line of y=x..

See Also

CBPS, plot