hrIPW (version 0.1.3)

hrData: A simulated data set

Description

A simulated cohort with 9 confounders (X1 to X9), generated with the algorithm described in Hajage *et al.* (2018) 10.1002/bimj.201700330.

Usage

data(hrData)

Arguments

Format

An object of class "data.frame".

References

Closed-form variance estimator for weighted propensity score estimators with survival outcome. Submitted to Statistics in Medicine (2017).

Examples

Run this code
# NOT RUN {
data(hrData, package = "hrIPW")
hrIPW(hrData, time = "time", status = "status", exposure = "Trt",
      variables = paste("X", 1:9, sep = ""), wtype = "ATE-stab")
# }

Run the code above in your browser using DataLab