ps.specificity: Specificity

Description Usage Arguments Details Value Examples

View source: R/psAUC.R

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 9, 2017, 3:24 p.m.