ps.compare: Propensity Score Comparison

Description Usage Arguments Details Examples

View source: R/psCompare.R

Description

Generates a graph used to compare the distribution of propensity score values in the cotnrol and treatment groups

Usage

1

Arguments

data

Data Frame - containing the dataset with previously calculated PS. The data frame must contain a treatment indicator variable called 'treat' and a propensity score value called 'ps_values'.

Details

This function uses sm.density.compare to plot an overlapping density distribution plot of the propensity scores for the two groups allowing one to visually assess the area of common support

Examples

1
2
3
4
## Not run: 
ps.compare(myData)

## End(Not run)

OHDSI/Centaur documentation built on May 9, 2017, 3:24 p.m.