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.
unprofitability_SL.R and unprofitability_CV.R contain the code used to run the main analyses (using proprietary data)
unprofitability_SL_sim.R and unprofitability_CV_sim.R contain the same code used to run analyses on the simulated data
Simulation results available in the supplementary materials.