plot.PS {cmprskcoxmsm}R Documentation

Plotting histogram of propensity score and balancing plot for covariates in the propensity score model

Description

Displays a the histogram plots for the propensity score, stratified by treated and control group and a graph of standardized mean difference of potential confounders before and after weigthing.

Usage

## S3 method for class 'PS'
plot(x,...)

Arguments

x

The results of doPS function

...

the other arguments you want to put in the built-in plot function

Details

The standardized mean difference (SMD), defined as the (weighted) treatment group mean minus the (weighted) control group mean divided by the (weighted) pooled sample (treatment and control) standard deviation. SMD between -0.1 and 0.1 typically indicates good balance.

Value

Histogram of propensity score and balancing plot for covariates in the propensity score model corresponding to the output from doPS.

See Also

bal.table


[Package cmprskcoxmsm version 0.2.0 Index]