Learn R Programming

CBPS (version 0.8)

plot.CBMB: Plotting Covariate Balancing Propensity Score Estimation for Multiple Simultaneously Administered Binary Treatments

Description

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

Usage

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

Arguments

x
an object of class CBMB.
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

  • Plots the absolute difference in standardized means by contrast for all covariates, both before and after weighting. Prints a mapping of the contrast names given in the axes to the names of the treatments to the console.

Details

The "Before Weighting" plot gives the absolute difference in standardized means before weighting, and the "After Weighting" plot gives the after. By default, uses stabilized weights.

See Also

CBPS, plot