plot.CBMSM {CBPS}  R Documentation 
Plotting CBPS Estimation for Marginal Structural Models
Description
Plots the absolute difference in standardized means before and after weighting.
Usage
## S3 method for class 'CBMSM'
plot(x, covars = NULL, silent = TRUE, boxplot = FALSE, ...)
Arguments
x 
an object of class “CBMSM”. 
covars 
Indices of the covariates to be plotted (excluding the
intercept). For example, if only the first two covariates from

silent 
If set to 
boxplot 
If set to 
... 
Additional arguments to be passed to plot. 
Details
Covariate balance is improved if the plot's points are below the plotted line of y=x.
Value
The xaxis gives the imbalance for each covariatetreatment history pair without any weighting, and the yaxis gives the imbalance for each covariatetreatment history pair after CBMSM weighting. Imbalance is measured as the absolute difference in standardized means for the two treatment histories. Means are standardized by the standard deviation of the covariate in the full sample.
Author(s)
Marc Ratkovic and Christian Fong