ps.auc: AUC

Description Usage Arguments Details Value Examples

Description

Calculates the area under the curve for a set of calculated propensity scores.

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 the 'AUC' R package to generate a AUC value of the propensity scores. For this to work properly, the argument ... should be a data frame containing the dataset with previously calculated propensity scores in a variable called ps_values.

Value

The area under the curve

Examples

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

## End(Not run)

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