plot.PS: Plotting Histogram of Propensity Score and Balancing Plot for...

View source: R/weight.R

plot.PSR 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

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.

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


semicmprskcoxmsm documentation built on April 30, 2022, 1:08 a.m.