Learn R Programming

personograph (version 0.1.3)

uplift: "Uplift" from IER and CER

Description

Calculates the percentage (from 0 to 1) of people who have an intervention benefit, intervention harm, bad outcome regardless, and good outcome regardless from the Intervention Event Rates (IER) and Control Event Rates (CER). Note that the result depends on the direction of the outcome measure, e.g. higher_is_better = T (default) for intervention efficacy, higher_is_better = F for adverse events.

Usage

uplift(ier, cer, higher_is_better = NULL)

Arguments

ier
Intervention Event Rates
cer
Control Event Rates
higher_is_better
logical indicating the direction of the outcome measure, default TRUE

Value

A list of S3 class personograph.uplift with the following elements:
  • good outcome people who have a good outcome regardless of intervention
  • bad outcome people who have a bad outcome regradless of intervention
  • intervention benefit people who benefit from intervention
  • intervention harm people who are harmed by intervention
Can be plotted as a personograph with the S3 generic plot.

Details

The adopted terminology is similar to that of Uplift modelling https://en.wikipedia.org/wiki/Uplift_modelling

Examples

Run this code
ier <- 0.06368133
cer <- 0.1115242
u <- uplift(ier, cer, higher_is_better=TRUE)
plot(u)

Run the code above in your browser using DataLab