ps.score.summary: Propensity Score Balance

Description Usage Arguments Details Value Examples

Description

Summarizes the balance of the propensity scores in treatment and control populations

Usage

1

Arguments

data

Data frame, containing the balanced population, including weights and/or matches. The data frame must contain a treatment indicator variable called 'treat'.

weights

Vector, containing the weights to use in assessing the balanced population (defaults to unweighted).

Details

This function calculates key summary statistics based on the propensity scores in the treatment and control populations. For a balanced population, one should observe similar mean values of the propensity scores in the two populations. Similarly to covariate diagnostics, one should observe a decrease in the standardized difference of the mean propensity score after balancing. Finally, one should see the ratio of variances in the propensity score move closer to 1 after balancing.

Value

Matrix, containing the summary statistics for the calculated propensity score

Examples

1
2
3
4
5
## Not run: 
ps.score.summary(myData)
ps.score.summary(myData, weights = myData$is_matched)

## End(Not run)

OHDSI/Centaur documentation built on May 7, 2019, 8:22 p.m.