Appendix material for Unprofitability project. Sherri Rose, Savannah Bergquist, and Tim Layton (2017). Computational health economics for identification of unprofitable health care enrollees. Biostatistics, 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

  3. df_sim.csv and df_sim_250.csv contain simulated data sets (2,006,126 and 250,000 observations, respectively)