ReadMe file for "Propensity score modeling in electronic health records with time-to-event endpoints: Application to kidney transplantation"

Data: 
- JDS_Data.csv (random sample of the raw UNOS dataset, 19000 observations)

Codes:
- SampleData_Creation.R/HTML (creates random sample from original kidney data. The original kidney data is not included so the HTML is provided)
- JDS_Step1_PropensityScore.R (estimates CBPS and GBM propensity score and shows love plot)
- JDS_Step2_Modeling.sas (estimates piecewise survival models)
- twang_mac_v3.1.2 (SAS macro provided by RAND: https://www.rand.org/statistics/twang/downloads.html)