computeEquipoise: Compute fraction in equipoise

View source: R/PsFunctions.R

computeEquipoiseR Documentation

Compute fraction in equipoise

Description

Compute fraction in equipoise

Usage

computeEquipoise(data, equipoiseBounds = c(0.3, 0.7))

Arguments

data

A data frame with at least the two columns described below.

equipoiseBounds

The bounds on the preference score to determine whether a subject is in equipoise.

Details

Computes the fraction of the population (the union of the target and comparator cohorts) who are in clinical equipoise (i.e. who had a reasonable chance of receiving either target or comparator, based on the baseline characteristics).

The data frame should have a least the following two columns:

  • treatment (integer): Column indicating whether the person is in the target (1) or comparator (0) group

  • propensityScore (numeric): Propensity score

Value

A numeric value (fraction in equipoise) between 0 and 1.

References

Walker AM, Patrick AR, Lauer MS, Hornbrook MC, Marin MG, Platt R, Roger VL, Stang P, and Schneeweiss S. (2013) A tool for assessing the feasibility of comparative effectiveness research, Comparative Effective Research, 3, 11-20


OHDSI/CohortMethod documentation built on Feb. 9, 2024, 9:01 a.m.