plot.PS | R Documentation |
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.
## S3 method for class 'PS' plot(x,...)
x |
The results of |
... |
the other arguments you want to put in the built-in plot function. |
Only available when logistic = FALSE in doPS. 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.
Histogram of propensity score and balancing plot for covariates in the propensity score model corresponding to the output from doPS
.
bal.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.