Appendix material for Unprofitability project. Sherri Rose, Savannah Bergquist, and Tim Layton (2017). Computational health economics for identification of unprofitable health care enrollees. Biostatistics, 18(4):682-94. doi:10.1093/biostatistics/kxx012.

  1. unprofitability_SL.R and unprofitability_CV.R contain the code used to run the main analyses (using proprietary data)

  2. unprofitability_SL_sim.R and unprofitability_CV_sim.R contain the same code used to run analyses on the simulated data

  1. Two simulated data sets are available for download. df_sim.csv contains 2,006,126 observations, and df_sim_250.csv contains 250,000 observations.

Simulation results available in the supplementary materials.