ps.sensitivity: Sensitivity

Description Usage Arguments Details Value Examples

Description

Calculates the sensitivity 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 sensitivity 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 sensitivity of propensity scores

Examples

1
2
3
## Not run: 
ps.sensitivity(myData)
## End(Not run)

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