Code for "Finite sample performance of optimal treatment rule estimators with right-censored outcomes."
The materials presented here can be used to reproduce the results in the manuscript. See below for a description of each file.
estimators.R: compares value estimatorseval.R: computes and aggregates results after estimation of optimal treatment rulesget_treat_cv_sc*.R: estimates optimal treatment rules with sample splitting estimators for specified scenarioget_treat_whole_sc.R*: estimates optimal treatment rules without sample splitting estimators for specified scenariosims_create.R: creates simulation datasetssims_summaries.R: computes summary statistics for simulation datasetsutils_sim.R: functions used in other files
Download the R script RISTfunctions.r from https://sites.google.com/site/teazrq/software.