ps.specificity: Specificity

Description Usage Arguments Details Value Examples

Description

Calculates the specificity curve 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 calculate the specificity 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

Calculated specificity of propensity scores

Examples

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

## End(Not run)

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